diff --git a/common/resources/src/main/resources/rawfile/editor.html b/common/resources/src/main/resources/rawfile/editor.html
index 9bda9dd9dc67c003a78995c52c25c5008d3195e9..ceef7e4f7f46b292914ff0275ee4b37a640bf056 100644
--- a/common/resources/src/main/resources/rawfile/editor.html
+++ b/common/resources/src/main/resources/rawfile/editor.html
@@ -5,7 +5,7 @@
"editorJs"
-
+
diff --git a/common/resources/src/main/resources/rawfile/rich_editor.js b/common/resources/src/main/resources/rawfile/rich_editor.js
index 2b0fb7251f46214dfa1ab9cba63111e771669f46..2141a1bc8c453736f71522927fbb9b7a7967edcc 100644
--- a/common/resources/src/main/resources/rawfile/rich_editor.js
+++ b/common/resources/src/main/resources/rawfile/rich_editor.js
@@ -27,7 +27,7 @@ RICH_EDITOR.setHtml = function (contents) {
};
RICH_EDITOR.getHtml = function () {
- return document.getElementById('editorjs_box').editor.innerHTML;
+ return document.getElementById('editorjs_box').innerHTML;
};
RICH_EDITOR.undo = function () {
@@ -279,8 +279,8 @@ RICH_EDITOR.insertImage = function (url) {
var html = '

';
- document.getElementById('editorjs').innerHTML += html
- document.getElementById('editorjs').scrollIntoView(false);
+ document.getElementById('editorjs_img').innerHTML += html
+ document.getElementById('editorjs_img').scrollIntoView(false);
};
RICH_EDITOR.insertHTML = function (html) {
diff --git a/features/src/main/ets/components/NoteContentCompPortrait.ets b/features/src/main/ets/components/NoteContentCompPortrait.ets
index 2000c1e7bf28aa28ec15fb835f7392c1e52134cf..1198e616de478d21822d313e3420ae7aab4a3820 100644
--- a/features/src/main/ets/components/NoteContentCompPortrait.ets
+++ b/features/src/main/ets/components/NoteContentCompPortrait.ets
@@ -253,6 +253,7 @@ export struct NoteContentCompPortrait {
Column() {
Web({ src: $rawfile('editor.html'), controller: this.controllerShow })
+ .overviewModeAccess(false)
.javaScriptAccess(true)
.javaScriptProxy({
object: this.noteContent,