Markdown editor toolbar UI enhancements
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
|
||||
if($('#page-type-edit').length) {
|
||||
|
||||
$('.editor-toolbar').attr('data-margin-top', $('#header').height());
|
||||
var editorToolbarSticky = new Sticky('.editor-toolbar');
|
||||
|
||||
//-> Discard
|
||||
|
||||
$('.btn-edit-discard').on('click', (ev) => {
|
||||
|
@@ -7,6 +7,4 @@ if($('#page-type-source').length) {
|
||||
scEditor.setReadOnly(true);
|
||||
scEditor.renderer.updateFull();
|
||||
|
||||
console.log(scEditor.getSession().getLength());
|
||||
|
||||
}
|
Reference in New Issue
Block a user