TinyMCE Styles
Permalink Browser Info Environment
Hi
I like content+ very much. In my eyes it should replace the original content block completely as it does everything the original block does, but better.
But I do miss the style_formats of the tinyMCE. We use it in the original block and I don't even see where I could add them in the content+ block.
I like content+ very much. In my eyes it should replace the original content block completely as it does everything the original block does, but better.
But I do miss the style_formats of the tinyMCE. We use it in the original block and I don't even see where I could add them in the content+ block.
Type: | Discussion |
---|---|
Status: | New |
Hi glockops
Thank you for the info! I just try to find out how I could implement it directly in the code. For the content block I was able to insert this data directly in the blocks/content/editor_config.php
Is there a way like this for the content+?
Thank you for the info! I just try to find out how I could implement it directly in the code. For the content block I was able to insert this data directly in the blocks/content/editor_config.php
Is there a way like this for the content+?
You can override the core editor_init, editor_config, and editor_controls files. They are located in /concrete/elements - copy them to /elements folder and make your changes.
This block and other blocks that use those files will load your overrides instead of the core files.
Here's more information about overrides:http://www.concrete5.org/documentation/how-tos/developers/change-th...
This block and other blocks that use those files will load your overrides instead of the core files.
Here's more information about overrides:http://www.concrete5.org/documentation/how-tos/developers/change-th...
Looks like all blocks using TinyMCE take their data from /concrete/elements/editor_config.
But not the normal content block. That one is using /concrete/blocks/content/editor_config
So I have to theme both and set the styles in both, but we don't change them often, so that's a good solution.
Thank you for the help!
But not the normal content block. That one is using /concrete/blocks/content/editor_config
So I have to theme both and set the styles in both, but we don't change them often, so that's a good solution.
Thank you for the help!
Hi all
in my case I had two override both 'editor_config.php'-files, as JasonStone said.
My goal was to change font size drop-down like:
Used c5 version is 5.6.2.1
So:
/blocks/content/editor_config.php
overrides
/concrete/blocks/content/editor_config.php
and
/elements/editor_config.php
overrides
/concrete/elements/editor_config.php
Don't forget to
- empty cache
- refresh Content-block in Blocktypes
in my case I had two override both 'editor_config.php'-files, as JasonStone said.
My goal was to change font size drop-down like:
... theme_advanced_font_sizes : "0.5em,0.55em,0.6em,0.65em,...,2em", ...
Used c5 version is 5.6.2.1
So:
/blocks/content/editor_config.php
overrides
/concrete/blocks/content/editor_config.php
and
/elements/editor_config.php
overrides
/concrete/elements/editor_config.php
Don't forget to
- empty cache
- refresh Content-block in Blocktypes
Select "custom" and enter your tinyMCE styles. More information about Tiny MCE style_format can be found here:http://www.tinymce.com/wiki.php/Configuration:style_formats...
After you make your changes to the Rich Text Editor, you may need to clear your cache to see your changes in Content+.
Thanks for the kind words about Content+ - I'm glad you find it useful.