Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.js
File · 0.80
pasteEventIsCrippledSafariHTMLPaste
Function · 0.80
actionIsExternal
Method · 0.80
bidi.js
File · 0.80
events.js
File · 0.80
shouldRenderInmmediatelyToDealWithIOSDictation
Function · 0.80
endsWithWhitespace
Function · 0.80
shouldAddExtraNewlineElement
Method · 0.80
html_sanitizer.js
File · 0.80
getBlockAttributes
Method · 0.80
needsTableSeparator
Method · 0.80
stringIsAllBreakableWhitespace
Function · 0.80
Calls
5
canActivateAttribute
Method · 0.80
canUndo
Method · 0.45
canRedo
Method · 0.45
canIncreaseNestingLevel
Method · 0.45
canDecreaseNestingLevel
Method · 0.45
Tested by
no test coverage detected