diff --git a/apps/mobile/src/views/Editor/tiny/tiny.js b/apps/mobile/src/views/Editor/tiny/tiny.js
index 7e963d277..6e55b405e 100644
--- a/apps/mobile/src/views/Editor/tiny/tiny.js
+++ b/apps/mobile/src/views/Editor/tiny/tiny.js
@@ -1,3 +1,5 @@
+import {EditorWebView, getWebviewInit} from '../Functions';
+
const reset = `
isLoading = true;
document.getElementById("titleInput").value = '';
@@ -122,7 +124,14 @@ tinymce.activeEditor.focus();
`;
function call(webview, func) {
- webview.current?.injectJavaScript(func);
+ if (getWebviewInit()) {
+ webview.current?.injectJavaScript(func);
+ } else {
+ setTimeout(() => {
+ console.log('run after delay');
+ webview.current?.injectJavaScript(func);
+ }, 1000);
+ }
}
const undo = `
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/item.js b/apps/mobile/src/views/Editor/tiny/toolbar/item.js
index 91b9b0c56..0e83d501f 100644
--- a/apps/mobile/src/views/Editor/tiny/toolbar/item.js
+++ b/apps/mobile/src/views/Editor/tiny/toolbar/item.js
@@ -291,7 +291,8 @@ const ToolbarItem = ({
- {formatValue || currentText}
+ {formatValue || currentText || "12pt"}
+
) : text && groupFormat !== 'header' ? (
{currentText || text}
+
) : (