From 24776ee6cec5da0997bac02f7cd8901eb2158e46 Mon Sep 17 00:00:00 2001 From: pedr Date: Fri, 2 Feb 2024 19:56:14 -0300 Subject: [PATCH] Desktop: Fixes #9737: Fix ghosting when dropping code block over another code block (#9816) --- .../app-desktop/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-desktop/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx b/packages/app-desktop/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx index edbbea985..9ee7244a7 100644 --- a/packages/app-desktop/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx +++ b/packages/app-desktop/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx @@ -629,7 +629,7 @@ const TinyMCE = (props: NoteBodyEditorProps, ref: any) => { joplinInsert: { inline: 'ins', remove: 'all' }, joplinSub: { inline: 'sub', remove: 'all' }, joplinSup: { inline: 'sup', remove: 'all' }, - code: { inline: 'code', remove: 'all', attributes: { spellcheck: false } }, + code: { inline: 'code', remove: 'all', attributes: { spellcheck: 'false' } }, forecolor: { inline: 'span', styles: { color: '%value' } }, }, setup: (editor: Editor) => {