Disable edition in pad read-only mode
This commit is contained in:
parent
f4078d68f0
commit
edc236e17b
@ -428,6 +428,10 @@ define([
|
|||||||
cursor.setToStart();
|
cursor.setToStart();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (framework.isReadOnly()) {
|
||||||
|
$(inner).attr('contenteditable', 'false');
|
||||||
|
}
|
||||||
|
|
||||||
var fmConfig = {
|
var fmConfig = {
|
||||||
ckeditor: editor,
|
ckeditor: editor,
|
||||||
body: $('body'),
|
body: $('body'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user