TinyMCE problems

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
gnolen

TinyMCE problems

Post by gnolen »

Hi,

I have two issus with TinyMCE that I would be really happy to have help with.

#1. When I add a span with a class from the dropdown css on an object, often the html code gets changed and it adds more spans then needed...How can I make it to do NO changes at all to the code I put in? I have these configs at the moment:

Code: Select all

	theme : "advanced",
				theme_advanced_toolbar_location : "top",
				verify_html : "false",
				verify_css_classes : "false",
				plugins : "advlink,preview,zoom,ibrowser",
				theme_advanced_buttons1_add : "",
				theme_advanced_buttons2_add_before: "cut,copy,paste",
				theme_advanced_buttons2_add : "",
				theme_advanced_buttons3_add : "advlink,ibrowser",
				document_base_url : "<?php echo $gCms->config['root_url']?>/",
				relative_urls : "true",
				plugin_insertdate_dateFormat : "%Y-%m-%d",
				plugin_insertdate_timeFormat : "%H:%M:%S",
				valid_elements : "*[*]",
				extended_valid_elements : "*[*]",
				auto_reset_designmode : "true",
				trim_span_elements : "false",
								verify_html : "false",
				force_p_newlines : "false",
				cleanup : "false"

#2. Is there a way to hide the thumbs (that have been created in the CMS imagemanager) in the TinyMCE image manager?

Thanks! / Gnolen
palmstrom

Re: TinyMCE problems

Post by palmstrom »

#2. Is there a way to hide the thumbs (that have been created in the CMS imagemanager) in the TinyMCE image manager?
You can set special directory for thumbnails in lib/filemanager/ImageManager/config.inc.php variable thumbnail_dir. Then they'll not annoy in ImageManager.
gnolen

Re: TinyMCE problems

Post by gnolen »

Cool! Thanks man!
Locked

Return to “Modules/Add-Ons”