diff --git a/client/src/entrypoints/admin/telepath/widgets.js b/client/src/entrypoints/admin/telepath/widgets.js index 7893078963..5332d6dee6 100644 --- a/client/src/entrypoints/admin/telepath/widgets.js +++ b/client/src/entrypoints/admin/telepath/widgets.js @@ -298,13 +298,6 @@ class BoundDraftailWidget { icon: '#icon-cut', description: gettext('Split block'), type: 'split', - render: ({ option, getEditorState }) => { - const editorState = getEditorState(); - const content = editorState.getCurrentContent(); - const blocks = content.getBlockMap(); - const text = `${option.description} (will split ${blocks.size} blocks)`; - return text; - }, onSelect: ({ editorState }) => { const result = window.draftail.splitState( window.draftail.DraftUtils.resetBlockWithType(