Disabling mini editor


#1

In my space-pen view I’m declaring a TextEditorView like so

@subview "titleEditor", new TextEditorView(mini: true)

Under some circumstances I want the editor to be uneditable/disabled so I call @titleEditor.disable()

The disabled="disabled" attribute is inserted into the <atom-text-editor> tag however the text can still be edited. Given that the disable() method works on view components like buttons, etc I’m not sure what I’m doing wrong here.


#2

I don’t think the atom-text-editor control supports being disabled. See: