Sha256: cc44b4832a6dc117ac22417ec5648d085779e9d01a7253ef0fc2456c154b9394
Contents?: true
Size: 524 Bytes
Versions: 4
Compression:
Stored size: 524 Bytes
Contents
# Explicitly require this file (not included in the main # Trix bundle) to install the following global helpers. @getEditorElement = -> document.querySelector("trix-editor") @getToolbarElement = -> getEditorElement().toolbarElement @getEditorController = -> getEditorElement().editorController @getEditor = -> getEditorController().editor @getComposition = -> getEditorController().composition @getDocument = -> getComposition().document @getSelectionManager = -> getEditorController().selectionManager
Version data entries
4 entries across 4 versions & 1 rubygems