You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using strapi 5.14.0 and instaled "@_sh/strapi-plugin-ckeditor": "6.0.1". I did not use any configs because if i wanted to enabled through config/plugins.js file it throws errors for not finding in node module admin dist folder the package.json. I've managed somehow to show the ckeditor in the content type created but i did a 'hack' - i needed to add manually in schema.json for a content type this : "options": { "preset": "defaultHtml" }.
When i'm trying to create the ckeditor custom field and select the html from the dropdown it's not going to be persisted somehow and thats why i've added manually the options preset field in the schema.
Can someone help me out what they did plugin to work ?
This was the error when i had the config/plugins changes:
module.exports = ({ env }) => ({
ckeditor5: {
enabled: true,
// resolve to the community plugin you installed
resolve: require.resolve('@_sh/strapi-plugin-ckeditor'),
},
});
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using strapi 5.14.0 and instaled "@_sh/strapi-plugin-ckeditor": "6.0.1". I did not use any configs because if i wanted to enabled through config/plugins.js file it throws errors for not finding in node module admin dist folder the package.json. I've managed somehow to show the ckeditor in the content type created but i did a 'hack' - i needed to add manually in schema.json for a content type this : "options": { "preset": "defaultHtml" }.
When i'm trying to create the ckeditor custom field and select the html from the dropdown it's not going to be persisted somehow and thats why i've added manually the options preset field in the schema.
Can someone help me out what they did plugin to work ?
This was the error when i had the config/plugins changes:
module.exports = ({ env }) => ({
ckeditor5: {
enabled: true,
// resolve to the community plugin you installed
resolve: require.resolve('@_sh/strapi-plugin-ckeditor'),
},
});
Beta Was this translation helpful? Give feedback.
All reactions