Skip to content

Bug : Markdown Editor Keeps re-rendering in Admin Portal #32

@Witty-Wizard

Description

@Witty-Wizard

Description

When attempting to edit content in the Markdown editor within the admin portal, the editor types only one letter before re-rendering. This forces the user to click inside the editor repeatedly after each keystroke, making text entry nearly impossible.

Steps to Reproduce

  1. Log in to the admin portal.
  2. Navigate to the section containing the Markdown editor.
  3. Click inside the editor and start typing.
  4. Notice that after entering one letter, the editor re-renders, losing focus.

Expected Behavior

The Markdown editor should allow continuous typing without interruption.

Actual Behavior

  • The editor re-renders after every keystroke.
  • Cursor focus is lost after typing one letter.
  • User has to manually click inside the editor again after each character input.

Proposed Solution : Use Tiptap as a replacement

The current issue may be caused by excessive state updates or re-renders within the existing Markdown editor. A better alternative would be using **Tiptap**, a highly customizable, headless editor built on **ProseMirror**, which provides better performance and stability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions