I am trying to use the Bootstrap function collapsein Umbraco, but when I edit the HTML page of the page in a text editor (TinyMCE), the attributes data-are cleared when I save the page so that the plugin does not work. I followed Allow any markup in the tinymce editor without effect. Can I stop TinyMCE by clearing my HTML?
collapse
data-
EDIT: I reproduced the problem at http://fiddle.tinymce.com/BNcaab
Try pasting the code below into the HTML editor, and then save and click the HTML editor again.
<a class="accordion-toggle down" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne"> <h4>Slide 1</h4> <span class="accordion-arrow"></span> </a>
Umbraco TidyHtml / , , 100% sysnc tinyMCE valid/invalid_elements. html5, , , , <scripts> ( , !) <iframes> . , , , Umbraco 4.8.11 , , . Tidy [/config/umbracoSettings.config] :
<!-- clean editor content with use of tidy --> <TidyEditorContent>False</TidyEditorContent> <!-- gross but: http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-(tinymce)/allow-any-markup-in-the-tinymce-editor -->
, : <![CDATA[*[*]]]> tinymce. config valid_elements .
<![CDATA[*[*]]]>
Source: https://habr.com/ru/post/1530206/More articles:Is SOLR support for complex types, such as a structure for fields with multiple values? - jsonУправление веб-приложениями в Tomcat по командной строке - javastd :: stream and transition to visual studio 2013 - c ++Umbraco: настройка RTE для работы с тегами HTML - htmlUsing CSS and Bootstrap 3 to highlight the current row and column of an html table - cssDo I need to use POCO classes with Entity Framework 6? - c #AmChart: setting a color line for a graphic glitch - javascriptJavascript array with associative array difference - javascriptChanging all file extensions in a folder using CLI on Linux - linuxHow can an interface publish a public property / method that does not exist in the implementation class? - c #All Articles