laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
45.46k stars 4.94k forks source link

Difficult to edit HTML notes on mobile #9915

Open personalizedrefrigerator opened 8 months ago

personalizedrefrigerator commented 8 months ago

Operating system

Android, iOS

Joplin version

2.14

Current behaviour

Currently, HTML notes are difficult to edit on mobile because there is no rich text editor.

See https://discourse.joplinapp.org/t/can-t-edit-imported-wysiwyg-notes-on-android-phone/35757.

Expected behaviour

One possible solution could be to add a way to convert HTML notes to markdown notes on mobile. For example, if an HTML note is opened in the editor, we could add a "convert to markdown" banner near the top of the screen.

To prevent data loss, we'll likely need a way to undo markdown conversion.

harshdew02 commented 7 months ago

Can we use a framework like 'react-native-cn-quill' to solve this issue? give suggestion please

personalizedrefrigerator commented 7 months ago

Can we use a framework like 'react-native-cn-quill' to solve this issue? give suggestion please

For now, I think it would be best to avoid adding additional dependencies. This could be discussed on the Joplin forum though :) .

A simple fix for this might be to allow using Joplin's existing HTML to Markdown converter by, for example, displaying a dismissable "convert to Markdown?" banner at the top of the screen.