You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WYSIWYG rich-text editing using the host tiptap editor #47
The editor's "Rich text" mode (Type icon) is not actually rich text: it renders the same raw markdown <textarea> as "Plain text". Formatting is applied by inserting markdown markers (**bold**), and the visual result is only visible in "Preview" (Eye). There is no way to see formatting (bold, italic, headings...) while editing.
Goal
Replace the textarea-based editor with the OpenCloud host editor (@opencloud-eu/web-pkg/editor, tiptap via useTextEditor({ contentType: 'markdown' }) + TextEditorProvider/TextEditorContent/TextEditorToolbar), so formatting is visible while editing.
Constraints / acceptance criteria
Bold/italic/strikethrough/headings/lists/quote/code/tables/links render visually while editing.
Content still round-trips as markdown (Notes API v1.4, Iotas compatibility). A note created with the old editor (markdown markers, attachment refs, raw HTML) must not be corrupted on load/save.
Preview mode (Eye), image proxying (signImages) and attachment resolution (blob:) keep working unchanged.
Attachments keep working: the paperclip button uploads and inserts the markdown reference.
The three header modes stay: "rich" = WYSIWYG, "plain" = markdown source, "preview" = faithful render.
Activity