-
Notifications
You must be signed in to change notification settings - Fork 23
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
New Settings to Add #1
Comments
Any chance of a PR on this one? |
@matdave Except css_selectors and templates I added all of those settings. What do you mean by css_selectors? I didn't find this setting in tiny mce... I'll add templates later. |
@theboxer looks like you added it. Basically css_selectors was an old format that was pretty easy to use for assigning custom css classes (e.g. Class Title==class). However, it has been replaced with style_formats. Your commit works, I had one more along the lines of $classes = $this->tinymcerte->getOption('css_selectors', array(),null); if(!empty($classes)){ $class = explode(',',$classes); $classes = array(); foreach($class as $cla){ $cl = explode('==',$cla); $classes[] = array("title"=>$cl[0],"classes"=>$cl[1]); } } then converted it to 'style_formats_merge' => $this->tinymcerte->getOption('style_formats_merge', array(), true), 'style_formats' => $classes, |
Added |
added sync between textarea and tinymce-rte
Here's a start to some additional settings to help with customizing:
default_paste_as_plain_text = "Setting to enable paste as plain text by default"
css_selectors = "Define CSS Selectors for spans and images (Looks like you can break it out into image-only classes, table-only classes, etc.)"
blockformats = "Define the avaiable block formats (e.g. disable h1)"
object_resizing = "Disable GUI object resizing (e.g. screws up percentage width images if image resized)"
templates = "under utilized, but helpful feature to choose chunks for predefined content templates"
image_advtab = "setting to true allows margin's to be set on images"
The text was updated successfully, but these errors were encountered: