Comments (6)
Hi!
It looks that currently it is not possible. I tried. Follow https://github.com/ckeditor/strapi-plugin-ckeditor#-contributing to adjust the config to your needs. This plugin would be greater if it was possible to create custom configuration...
from strapi-plugin-ckeditor.
@prestonator If I'm not mistaking, Strapi only supports extending the server part of a plugin. The problem in this plugin is that the configuration is in the React front part and is hard-coded. I think we have no choice but change this plugin's code to make the hard-coded part more configurable.
from strapi-plugin-ckeditor.
Would you guys accept a PR which allows the configuration object to be overwritten?
Kinda the same way as possible in https://github.com/nshenderov/strapi-plugin-ckeditor
If so; any requirements you might have as to how this is implemented?
from strapi-plugin-ckeditor.
Oh wait, there's no entry for this plugin in config/plugins.js, so probably won't work :(
Forgive me if I am wrong, which I probably am, but is it not possible to modify a plugin by extending it via the Strapi docs "Plugin Extension"?
I'm kind of talking out of my butt right now, because I don't really know how to do it, but just thought I'd chime in because I'm trying to extend the plugin right now. Which will hopefully work :)
from strapi-plugin-ckeditor.
@anthonyhexium You can use configurator.js to affect custom configuration and rebuild strapi to take effects.
from strapi-plugin-ckeditor.
The ability to overwrite parts of the configuration would be great. I am still on the fence wether to switch from TinyMCE to CKEditor, and this and not being able to do source editing are the main reasons.
For example adding a lead element to the heading options:
config: {
rich: {
heading: {
options: [
{ model: 'lead', view: 'p', title: 'Lead', class: 'lead' },
]
}
}
}
from strapi-plugin-ckeditor.
Related Issues (20)
- releases/changelog for repo
- add prettier for revert chaos
- CKEditor wont show up as custom field HOT 1
- Strapi CKEditor5 deployment fails, says module not found HOT 1
- [AST] Please add theme support for `system` mode : Automatically Switch Theme
- Strapi v5 Compatability HOT 6
- Richtext side by side content editing issue
- CKEditor as a Component in the Dynamic Zone has incorrect content after saving HOT 1
- After upgrading to strapi 4.24.x, is there some change to media picker?
- Feature Request: Support for Text Wrapping Around Images on Both Sides
- Markdown output not working HOT 1
- HTML returned as text string, not rendered HTML HOT 2
- File insertion error. Nothing after inserting the file. HOT 2
- Add new fonts HOT 2
- AI assistant feature? HOT 1
- Error running Strapi after installing plugin
- support UI language
- Images not working in CK Editor in Strapi BUG HOT 5
- support prefers-color-scheme
- Remove backend url prefix from images ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strapi-plugin-ckeditor.