Skip to content

Commit 748cd93

Browse files
committed
Fix editable aside
1 parent 3d83e27 commit 748cd93

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

app/js/raje-core/core.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/js/raje-core/init.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if (hasBackend) {
3636

3737
//attach whole body inside a placeholder div
3838
$('body').html(`<div id="raje_root">${$('body').html()}</div>`)
39-
39+
4040
//
4141
mathml2svgAllFormulas()
4242

@@ -437,6 +437,7 @@ if (hasBackend) {
437437
tinymce.activeEditor.$(SIDEBAR_ANNOTATION).addClass('mceNonEditable')
438438

439439
tinymce.activeEditor.$(HEADER_SELECTOR).attr('contenteditable', false)
440+
tinymce.activeEditor.$(SIDEBAR_ANNOTATION).attr('contenteditable', false)
440441
}
441442

442443
/**

0 commit comments

Comments
 (0)