public static void MakeEmptyCellsNull(IHtmlEditorComponentContext editorContext, IHTMLElement tableElement) { MarkupRange tableMarkupRange = editorContext.MarkupServices.CreateMarkupRange(tableElement, false); TableEditor tableEditor = new TableEditor(editorContext, tableMarkupRange); tableEditor.MakeEmptyCellsNull(); }