EditorModel (model.review, model.find, model.nav, model.spell, model.ui.contextMenu, model.ui.palette) and the observable they share.
ReviewModel
Import from @reductoai/docx-editor, @reductoai/docx-editor/model. Extends Observable.
ReviewModel properties
ReviewModel.accept()
ReviewModel.addComment()
ReviewModel.cancelComment()
ReviewModel.closePeek()
ReviewModel.closeReply()
ReviewModel.edit()
ReviewModel.measureCard()
ReviewModel.observes()
ReviewModel.openPin()
ReviewModel.paint()
ReviewModel.pick()
ReviewModel.placePages()
ReviewModel.rectsOf()
ReviewModel.refresh()
ReviewModel.reject()
ReviewModel.remove()
ReviewModel.reply()
ReviewModel.reset()
ReviewModel.resolve()
ReviewModel.reveal()
ReviewModel.setItems()
[] clears it.
They anchor, stack and mark as comments do; draw them with the balloon slot.
ReviewModel.setReviewerShown()
undefined turns All Reviewers on or off.
ReviewModel.setShown()
ReviewModel.setViewport()
ReviewModel.showThread()
ReviewModel.stampOf()
ReviewModel.startComment()
ReviewModel.subscribe()
key is omitted.
ReviewModel.threadAtCaret()
ReviewModel.toggle()
ReviewModel.toggleResolved()
FindModel
What the results view reads and calls; both editors’ find models satisfy it.
Import from @reductoai/docx-editor, @reductoai/docx-editor/model. Extends Observable.
FindModel properties
FindModel.claims()
FindModel.go()
FindModel.hide()
FindModel.observes()
FindModel.paint()
FindModel.refresh()
FindModel.replace()
FindModel.replaceAll()
FindModel.reset()
FindModel.search()
FindModel.show()
FindModel.stampOf()
FindModel.step()
FindModel.subscribe()
key is omitted.
NavModel
Import from @reductoai/docx-editor, @reductoai/docx-editor/model. Extends Observable.
NavModel properties
NavModel.fold()
NavModel.go()
NavModel.hide()
NavModel.observes()
NavModel.reset()
NavModel.setTab()
NavModel.show()
NavModel.stampOf()
NavModel.subscribe()
key is omitted.
NavModel.toggle()
NavModel.type()
Observable
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
Observable properties
Observable.observes()
Observable.stampOf()
Observable.subscribe()
key is omitted.
Unsubscribe
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
ContextMenuStore
Import from @reductoai/docx-editor, @reductoai/docx-editor/model. Extends Observable.
ContextMenuStore properties
ContextMenuStore.close()
ContextMenuStore.closeSub()
ContextMenuStore.move()
ContextMenuStore.observes()
ContextMenuStore.openSub()
ContextMenuStore.runActive()
ContextMenuStore.show()
ContextMenuStore.stampOf()
ContextMenuStore.subscribe()
key is omitted.
MenuItem
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
PaletteStore
Import from @reductoai/docx-editor, @reductoai/docx-editor/model. Extends Observable.
PaletteStore properties
PaletteStore.exitStep()
PaletteStore.hide()
PaletteStore.observes()
PaletteStore.register()
PaletteStore.run()
PaletteStore.show()
PaletteStore.stampOf()
PaletteStore.submitPrompt()
PaletteStore.subscribe()
key is omitted.
PaletteStore.toggle()
PaletteItem
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
SpellModel
Import from @reductoai/docx-editor, @reductoai/docx-editor/model. Extends Observable.
SpellModel properties
SpellModel.add()
SpellModel.at()
SpellModel.ignore()
SpellModel.misses()
SpellModel.observes()
SpellModel.paint()
SpellModel.replace()
text over the word: an ordinary edit and one undo step.
SpellModel.reset()
SpellModel.stampOf()
SpellModel.subscribe()
key is omitted.
SpellModel.suggest()
SpellModel.toggle()
localDictionary()
@reductoai/docx-editor, @reductoai/docx-editor/model.
workerSpeller()
@reductoai/docx-editor, @reductoai/docx-editor/model.