1

Topic: Change HTML code automatically

sometimes tinymce changes manually input HTML code in the text area automatically, eliminating some code, adding unnecessary code (very often <p>&nbsp;</p> ), and change all brackets to the text "&gt;" when one of the brackets is not closed.

Has anyone else experience a similar issue and what did you do to fix it?

2

Re: Change HTML code automatically

Can you provide additional information, for instance the configuration you are using, the browser(s) this is occurring on and an example of the HTML that is changed?

  Cheers,
  Brett

Brett Henderson
http://tinymce.ephox.com

3

Re: Change HTML code automatically

We are running the tinymce editor in our cms, the cms we use is EpiServer - I will need to contact them for specifics on how they configured the tinymce into their product. I get back with more information shortly.

4

Re: Change HTML code automatically

Hi All,
Here i am writing issue which i'm facing, is that, when the page is uploaded textarea control get large when user drag it and any event is not working on it. So please assist me how i can fix the size of textarea.
Thnaks in Advance,
Govind

5

Re: Change HTML code automatically

I got this configuration from the EpiServer people

tinyMCE.init( {
"mode":"exact",
"dialog_type":"window",
"convert_urls":false,
"language":false,
"content_css":"",
"style_formats":"",
"entities":"160,nbsp",
"theme":"advanced",
"theme_advanced_layout_manager":"RowLayout",
"theme_advanced_container_editorcontainer":"mceEditor",
"theme_advanced_container_statusBar":"mceElementpath",
"theme_advanced_containers_default_align":"left",
"theme_advanced_resizing_use_cookie":false,
"theme_advanced_path":true,
"theme_advanced_resizing":true,
"theme_advanced_containers":"row1,
row2,editorcontainer,statusBar",
"theme_advanced_statusbar_location":"bottom",
"epiImageEditor_dialogWidth":900,
"epiImageEditor_dialogHeight":600,
"epidynamiccontent_enabledcontrols":"epidynamiccontent, code, undo, redo, cut, copy, fullscreen",
"extended_valid_elements":"span[contenteditable\u003cfalse|data-hash|data-state|data-dynamicclass|disabled|data-classid|data-groups|data-contentgroup|id|class|style|title|dir\u003cltr?rtl|lang|xml::lang|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup|align\u003ccenter?justify?left?right|contentEditable|state|dynamicclass|classid|hash],div[contenteditable\u003cfalse|data-hash|data-state|data-dynamicclass|disabled|data-classid|data-groups|data-contentgroup|id|class|style|title|dir\u003cltr?rtl|lang|xml::lang|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],#td[colspan|rowspan|width|height|align|valign|bgcolor|background|bordercolor|scope|axis|headers|abbr|id|class|style|title|dir\u003cltr?rtl|lang|xml::lang|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],#th[colspan|rowspan|width|height|align|valign|scope|axis|headers|abbr|id|class|style|title|dir\u003cltr?rtl|lang|xml::lang|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],strong[class|dir\u003cltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title]/b,iframe[align\u003cbottom?left?middle?right?top|class|frameborder|height|id|longdesc|marginheight|marginwidth|name|scrolling\u003cauto?no?yes|src|style|title|width]",
"epipersonalizedcontent_enabledcontrols":"epipersonalizedcontent, code, undo, redo, cut, copy, fullscreen",
"width":"614px",
"height":"300px",
"skin":"epi-light",
"epi_page_context":{"id":"16620_857056","parentId":"1","pageFolderId":"22385","epslanguage":"en-GB","pageTypeId":201},"plugins":"epilink,epiimageeditor,media,epidynamiccontent,epipersonalizedcontent,epiquote,paste,table,fullscreen,searchreplace,advimage,epifilebrowser,epiaccesskeysremove,epieditordisable,,episearchreplace,epistylematcher,epivisualaid,epitrailing,epipageleavecheck,epifilemanagerdragdrop,epiexternaltoolbar,epiwindowmanager","theme_advanced_container_row1":"epilink,unlink,anchor,image,epiimageeditor,media,epidynamiccontent,epipersonalizedcontent,epiquote,separator,cut,copy,paste,pastetext,pasteword,separator,table,delete_table,row_props,cell_props,separator,col_before,col_after,delete_col,separator,row_before,row_after,delete_row,separator,split_cells,merge_cells","theme_advanced_container_row2":"bold,italic,underline,separator,justifyleft,justifycenter,justifyright,separator,bullist,numlist,hr,formatselect,undo,redo,separator,cleanup,code,visualaid,fullscreen,search","elements":"ctl00_FullRegion_PC_45_1_EditForm_FreeText_ctl00","editorwidth":"614px"}
);

Rather long configuration - to add is that we our cms is multi language - and the issue we have is on asian languages