git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e704cad
)
edit: disable ckeditor config.js include
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 13 Jul 2018 19:25:30 +0000
(21:25 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 14 Jul 2018 11:47:56 +0000
(13:47 +0200)
Save an unneeded load, since settings are declared with page.js setup.
edit.js
patch
|
blob
|
history
diff --git
a/edit.js
b/edit.js
index 28b3d185cbece06b44386e815f177375304129ec..5384f2c9eea1039ad6109f95236b85fa78dd45a0 100644
(file)
--- a/
edit.js
+++ b/
edit.js
@@
-130,7
+130,7
@@
if (pagebody) {
pagebody.setAttribute('contenteditable', true);
pagebody.innerHTML = pagebody.innerHTML
.replace(/<!--BLOCK:(.*?)-->[^]*?<!--\/-->/g, '$1');
- CKEDITOR.inline(pagebody);
+ CKEDITOR.inline(pagebody
, { customConfig: '' }
);
document.body.className = 'edit';
return false;
};