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