Wysiwyg TinyMCE editorConfig not working
See original GitHub issueI am trying to add the config for the TinyMCE field, but there is no change at all. I am using a config from a sample of TinyMCE website. Am I doing something wrong? I tried many ways to make it work but none worked.
const { Wysiwyg } = require('@keystonejs/fields-wysiwyg-tinymce');
fields: {
title: { type: Text, schemaDoc: 'Title for published article' },
text: {
type: Wysiwyg, editorConfig: {
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
],
toolbar: 'undo redo | formatselect | ' +
' bold italic backcolor | alignleft aligncenter ' +
' alignright alignjustify | bullist numlist outdent indent |' +
' removeformat | help',
content_css: [
'//fonts.googleapis.com/css?family=Lato:300,300i,400,400i',
'//www.tiny.cloud/css/codepen.min.css'
]
}
},
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:22 (12 by maintainers)
Top Results From Across the Web
TinyMCE not working: possible causes and fixes
There are a couple of possible reasons of TinyMCE not working - you can fix those easily and we prepared detailed instructions for...
Read more >How do I customise the WYSIWYG (TinyMCE) field for Admin ...
I tried using config in place of editorConfig but that doesn't work either. tinymce · keystonejs · Share.
Read more >TinyMCE: Special characters defined in 'entities' not converted ...
I found this closed issue that seemed to address the problem I'm ... to my wysiwyg/editors/tinymce.inc file, the characters still did not ...
Read more >TinyMCE | Strapi Market
Replaces the default Strapi WYSIWYG editor with a customized build of TinyMCE editor. ... If you do not yet have this file, then...
Read more >Videos or images not showing with TinyMce - WordPress.org
Videos or images not showing with TinyMce ... 'teeny' => false, // output the minimal editor config used in Press This 'tinymce' =>...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You just need to bump the
'@keystonejs/fields-wysiwyg-tinymce'
dependency in your project to the latest version and runyarn
ornpm up
depending on what package manager you use.The update doesn’t include an
apiKey
option, though. I’ll have to handle that separately.The
editorConfig
option should now be available if you update your package.