The AtomicBlockUtils
module is a static set of utility functions for atomic
block editing.
In each case, these methods accept EditorState
objects with relevant
parameters and return EditorState
objects.
insertAtomicBlock: function( editorState: EditorState, entityKey: string, character: string ): EditorState
moveAtomicBlock: function( editorState: EditorState, atomicBlock: ContentBlock, targetRange: SelectionState, insertionMode?: DraftInsertionType ): EditorState