Skip to content

[BUG] When you edit the text of the alert in the RTE, switch back to the markdown editor, and then back to the RTE, the note formatting is gone. #4

@futuremotiondev

Description

@futuremotiondev
  1. Create an alert in the markdown editor:
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
  1. Switch to the RTE
  2. Edit the content of the warning, or add a space after the icon in the RTE
  3. Switch to the Markdown Editor
  4. Notice the blockquote syntax is removed
  5. Switch back to the RTE
  6. Observe the alert is no longer an alert

Screen recording:

Joplin_kpr3PXpI5o.mp4

If there is any way to prevent this behavior it would be incredible. I've been searching for a WORKING alert/admonition plugin for months, but they all break after editing / switching between the markdown editor and the RTE.

Any chance this can be fixed?

For additional reference, I noticed that tags persist when switching between editors... if there is a way you can implement this using span tags instead of div tags it might fix this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions