Skip to content
Snippets Groups Projects
Commit 7d693c6d authored by chris's avatar chris Committed by john
Browse files

disable isolated note if editor in read only mode

parent 4a6113fc
No related branches found
No related tags found
No related merge requests found
......@@ -10,13 +10,12 @@ class IsolatedNoteComponent extends IsolatedNodeComponent {
// is there a better way than rendering a text property editor???
// review ref name
// do we need a ref ??
let el = $$('div')
.addClass('sc-entity')
.attr('data-id', this.props.node.id)
.append(
$$(TextPropertyEditor, {
disabled: this.props.disabled,
disabled: this.context.editor.props.disabled,
multiLine: false,
path: [this.props.node.id, 'content'],
tagName: 'p'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment