Hi,
Currently i am using tinymce4v,TS-7.4.1 and IE11.
I had customised some functionality and all is working for fine for DCR while i have does implement some fuctionality for compoments then some fuctionality does not work.
example:
IWTinyMCECustomConfig("custom", "doctype", '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">');
IWTinyMCECustomConfig("custom", "toolbarRow","styleselect,bold,italic,underline,strikethrough,superscript,subscript,removeformat,|,bullist,numlist,|,alignleft,aligncenter,alignright,alignjustify,hr");
IWTinyMCECustomConfig("custom", "theme", "modern")
IWTinyMCECustomConfig("custom", "plugins", "compat3x,paste,searchreplace,advimage,preview,anchor,advlink,spellchecker,advlist,media,table,contextmenu,colorpicker,textcolor");
IWTinyMCECustomConfig("custom", "style_formats",["{title: 'test1',inline: 'span',classes:'customclass1'}, {title: 'customclass1',selector: 'li', classes:'test2'},{title: 'customclass1',selector: 'li', classes:'customclass1'},{title: 'customclass1', inline: 'span',classes:'customclass1'}"]);
Its working fine for custom rules.
But when does we try for components. It does not work.
iw-home/local/config/lib/content_center/livesite_customer_src/etc/conf/livesite_customer/resources/customer-resource-config.xml
<bean id="livesite.ContentProperties.TinyMCE" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="properties">
<props>
<prop key="theme">modern</prop>
<prop key="plugins">compat3x paste searchreplace advimage preview anchor advlink spellchecker advlist media table contextmenu colorpicker textcolor</prop>
<prop key="toolbar1">styleselect bold italic underline strikethrough superscript subscript removeformat | bullist numlist | alignleft aligncenter alignright alignjustify hr</prop>
<prop key="toolbar2">cut copy paste pastetext pasteword cleanup | search replace | undo redo | charmap sub sup | outdent indent | image code | anchor link unlink preview searchreplace spellchecker iespell forecolor backcolor</prop>
<prop key="toolbar3"></prop>
<!--<prop key="toolbar3">table | hr removeformat | subscript superscript | charmap emoticons | print | ltr rtl | spellchecker | visualchars visualblocks nonbreaking template pagebreak restoredraft</prop>-->
<prop key="contentCss">/iw/tinymce/config/custom_content.css</prop>
<prop key="insertdatetime_dateformat">%Y-%m-%d</prop>
<prop key="insertdatetime_timeformat">%H:%M:%S</prop>
<prop key="extended_valid_elements"><![CDATA[hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],select[class|id|lang|multiple|name|onblur|onchange|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|size|style|tabindex|title],option[class|disabled|id|label|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|selected|style|title|value],img[src|alt|title|align|height|width|hspace|vspace|border|style|constrain|class_list|onmouseoversrc|over_list|onmouseoutsrc|out_lis|id|dir|lang|usemap|longdesc],a[id|class|name|href|target|title|titlewidth|titleheight|rel|onclick|onfocus|onblur|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup|popuplocation|popupscrollbars|popupmenubar|popupresizable|popupdependent|popupstatus|popupreturn|ispopup],table[height|width|cellpadding|cellspacing|align|border]]]></prop>
<prop key="relative_urls">false</prop>
<prop key="convert_urls">false</prop>
<prop key="external_link_list_url">example_link_list.js</prop>
<prop key="external_image_list_url">example_image_list.js</prop>
<prop key="flash_external_list_url">example_flash_list.js</prop>
<prop key="remove_script_host">true</prop>
<prop key="document_base_url">/</prop>
<prop key="width">100%</prop>
<prop key="forced_root_block">false</prop>
<prop key="style_formats_merge">true</prop>
<prop key="style_formats">["({title: 'Custom styles', items:[\({title:'Link Bold', inline: 'span',classes: 'link link--bold'})]})"]</prop>
<prop key="theme_advanced_styles">test=test1;test=test1;test=test1</prop>
</props>
</property>
</bean>
this line does not work.
<prop key="style_formats">["({title: 'Custom styles', items:[\({title:'Link Bold', inline: 'span',classes: 'link link--bold'})]})"]</prop>
it shows blank value.
Please help me if some one have faced this problem.