1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Mobile: Resolves #12841: Allow editing code blocks from the Rich Text Editor (#12906)

This commit is contained in:
Henry Heino
2025-08-07 02:18:09 -07:00
committed by GitHub
parent 0312f2213d
commit 6704ab0d13
35 changed files with 607 additions and 111 deletions

View File

@@ -11,6 +11,7 @@ export const initializeEditor = ({
initialText,
initialNoteId,
settings,
onLocalize,
}: EditorProps) => {
const messenger = new WebViewToRNMessenger<EditorProcessApi, MainProcessApi>('markdownEditor', null);
@@ -23,6 +24,7 @@ export const initializeEditor = ({
initialText,
initialNoteId,
settings,
onLocalize,
onPasteFile: async (data) => {
const base64 = await readFileToBase64(data);