diff --git a/src/component/handlers/edit/editOnBlur.js b/src/component/handlers/edit/editOnBlur.js index 75d1b1a0b9..616a41ddc4 100644 --- a/src/component/handlers/edit/editOnBlur.js +++ b/src/component/handlers/edit/editOnBlur.js @@ -14,7 +14,6 @@ import type DraftEditor from 'DraftEditor.react'; -const DraftFeatureFlags = require('DraftFeatureFlags'); const EditorState = require('EditorState'); const containsNode = require('containsNode'); @@ -33,7 +32,6 @@ function editOnBlur(editor: DraftEditor, e: SyntheticEvent): void { const selection = global.getSelection(); const editorNode = editor.refs.editor; if ( - !DraftFeatureFlags.draft_cautious_range_removal_on_blur || selection.rangeCount === 1 && containsNode(editorNode, selection.anchorNode) && containsNode(editorNode, selection.focusNode) diff --git a/src/component/utils/DraftFeatureFlags-core.js b/src/component/utils/DraftFeatureFlags-core.js index 194ced084c..ba0b6f1391 100644 --- a/src/component/utils/DraftFeatureFlags-core.js +++ b/src/component/utils/DraftFeatureFlags-core.js @@ -14,7 +14,6 @@ var DraftFeatureFlags = { draft_accept_selection_after_refocus: false, - draft_cautious_range_removal_on_blur: false, draft_killswitch_allow_nontextnodes: false, draft_segmented_entities_behavior: false, };