1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Mobile: Rich Text Editor: Enable syntax highlighting and auto-indent in the code block editor (#12909)

This commit is contained in:
Henry Heino
2025-08-19 23:29:30 -07:00
committed by GitHub
parent 8a811b9e78
commit af5c0135dc
20 changed files with 294 additions and 88 deletions

View File

@@ -232,6 +232,10 @@ const useEditorControl = (
onResourceDownloaded: (id: string) => {
editorRef.current.onResourceDownloaded(id);
},
remove: () => {
editorRef.current.remove();
},
};
return control;
@@ -300,6 +304,7 @@ function NoteEditor(props: Props) {
editorControl.searchControl.hideSearch();
}
break;
case EditorEventType.Remove:
case EditorEventType.Scroll:
// Not handled
break;