-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Color picker CkEditor5 #1812
Comments
cc @oleq |
At this moment, the editor does not offer the color picker feature. But it is possible to use external components in CKEditor 5 dropdowns to bring one. You'll need to create a new plugin for that and use the |
Is it possible to use that plugin to extend the font color provided functionality, like the picture above? To add the "More colors" button below the predefined colors ? |
I don't think it's an easy task. You'd need to customize the Developing your own |
Will look into this thanks for your reply |
Yo @jeroenfrenken, did you create your plugin ? If you can share it, it could be appreciate :). |
@AGachet I went with the default color picker from CK so no option to change color's. I am thinking to write my own plugin in the future when the needs are higher in our product. If so I will share it with you :) |
I was searching for the same solution. If you are not interested in a specific color code, but only in a greater range of options, I generated 200 color codes that are in a king of optical "order": Add this to you ckeditor config: fontColor: { |
Is anyone is looking for some directions, here is the implementation of plugin to display color palette inside ckeditor dropdown: |
or you can take a look on that => https://www.npmjs.com/package/@solomoto/ckeditor5-font-color |
@pshurygin I was using your plugin and it was working perfectly! Nice job! :) |
Hey, maybe it's too late but there is a pending pull request in the @pshurygin plugin that solves the problem! |
Is this a bug report or feature request? (choose one)
Other (Question)
💻 Version of CKEditor
📃 Other details that might be useful
CkEditor build from source and using it with Vue
Question
I am looking to use a color picker inside the CkEditor which is inline like so:
I am using the ckeditor5-font plugin for textColor but this only shows a color pallet and not a color picker.
I tried to create a custom plugin but I do not see any option where it is possible to add custom html in a Dropdown.
I have a colorpicker working in plain javascript. And wold love to implement that inside my existing toolbar.
Thank you in advance
The text was updated successfully, but these errors were encountered: