Skip to content

[enhancement] Could you please add native text color functionality to the editor? #135

@phyAISdier

Description

@phyAISdier

Feature Request: Add text color (font color) support with a toolbar button and color picker

Expected behavior: Add a Font Color button (and optionally a Background Color button) to the toolbar.
Clicking the button opens a color picker/palette allowing the user to choose any color.
After selecting a color, the user can highlight any text in the editor, and the selected text will immediately change to that color in both Live Preview and Reading View.

Markdown representation (preferred implementation):
The generated Markdown should remain clean and compatible. A very elegant and widely-adopted solution already exists:
https://github.com/zhangchengk/md-color Example syntax it produces:

This is <font color="#ff0000">red text</font>
This is <font color="#00ff00">green text</font>

or the shorter custom variant: markdown

This is [#ff0000]colored text[]
This is [#0000ff background=#ffff0066]highlighted text[]

Why this would be valuable:
Many users (especially students, note-takers, and knowledge-base builders) rely heavily on color coding. Having a toolbar button + color picker would dramatically improve the editing experience without sacrificing Markdown compatibility.Thank you for considering this feature!

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