MCPcopy
hub / github.com/basecamp/trix / test

Method test

src/trix/controllers/editor_controller.js:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 static actions = {
25 undo: {
26 test() {
27 return this.editor.canUndo()
28 },
29 perform() {
30 return this.editor.undo()
31 },

Callers 15

rollup.config.jsFile · 0.80
actionIsExternalMethod · 0.80
bidi.jsFile · 0.80
events.jsFile · 0.80
endsWithWhitespaceFunction · 0.80
html_sanitizer.jsFile · 0.80
getBlockAttributesMethod · 0.80
needsTableSeparatorMethod · 0.80

Calls 5

canActivateAttributeMethod · 0.80
canUndoMethod · 0.45
canRedoMethod · 0.45

Tested by

no test coverage detected