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
(parent:
98c677e
)
edit: close button to hide toolbar
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 13 Jul 2018 19:24:53 +0000
(21:24 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 14 Jul 2018 11:47:56 +0000
(13:47 +0200)
Significantly increases visibility on small (phone) screens.
Inline equivalent to toolbarCanCollapse option.
edit.js
patch
|
blob
|
history
diff --git
a/edit.js
b/edit.js
index 62badc986cc6eeac987d60fc4c1453f9b27cf847..28b3d185cbece06b44386e815f177375304129ec 100644
(file)
--- a/
edit.js
+++ b/
edit.js
@@
-98,6
+98,7
@@
CKEDITOR.on('instanceCreated', function (event) {
['Table', 'CreateDiv'],
['Image', 'HorizontalRule', 'CreatePlaceholder'],
// ['Sourcedialog'],
+ ['closebtn'],
];
config.toolbarCanCollapse = true;
config.floatSpacePreferRight = true;