sibiraj-s / ngx-editor

🖋️ Rich Text Editor for angular using ProseMirror
https://sibiraj-s.github.io/ngx-editor/
MIT License
457 stars 191 forks source link

[Feature request]: Reset both text and background color in editor-menu to default color #562

Closed lucasluizss closed 4 months ago

lucasluizss commented 4 months ago

Description

When using the ngx-editor library in an Angular application, the editor menu does not provide an option to reset the text color and background color to their default values. This limitation prevents users from reverting customized color settings back to the standard theme colors, which can affect the consistency and readability of the content. As a result, once a color is applied to the text or background, there is no straightforward way to remove it using the editor's built-in menu options.

Problem Statement/Justification

In our Angular application utilizing the ngx-editor library, we have identified a significant limitation: the editor menu lacks functionality to reset the text and background colors to their default values. This deficiency hampers user experience by preventing them from easily reverting customized color settings back to the standard theme colors.

Additional Information

Implementing this feature would improve overall user satisfaction, streamline content creation processes, and bring ngx-editor in line with user expectations for a modern text editor. The color only resets when a new line is added or everything is deleted from the text editor.

Willing to submit a PR?

No

sibiraj-s commented 4 months ago

I assume that you have found that it already exists. You just need to select the color and reset from the same color picker

lucasluizss commented 4 months ago

I assume that you have found that it already exists. You just need to select the color and reset from the same color picker

Exactly. Since we use a different style for that I was unable to see the button until I saw the demo.

github-actions[bot] commented 3 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.