mobile: fix incorrect tab content by default

This commit is contained in:
Ammar Ahmed
2024-03-16 08:03:36 +05:00
committed by Abdullah Atta
parent 8d4ae8e970
commit cf5fac7d41

View File

@@ -134,7 +134,7 @@ const Tiptap = ({
editorProps: {
editable: () => !tab.readonly
},
content: "<p>hello world<ins class='diffins'>[diffed text]</ins></p>",
content: globalThis.editorControllers[tab.id]?.content?.current,
isMobile: true,
doubleSpacedLines: settings.doubleSpacedLines,
openLink: (url) => {