You are not logged in.Register in the forum at tinymce.com.
RunSaveForkReset
Title
DescriptionThis demonstrates how TinyMCE 3.4.7 fails to render newlines in PREs if the newlines are inside inline elements.
TinyMCE Version 4.0b2 4.0b1 3.5b3 3.5b2 3.5b1 3.5.8 3.5.7 3.5.6 3.5.5 3.5.4.1 3.5.4 3.5.3 3.5.2 3.5.1.1 3.5.1 3.5.0.1 3.5 3.4.9 3.4.8 3.4.7 3.4.6 3.4.5 edge nightly 4.0b2 4.0b1 3.5b3 3.5b2 3.5b1 3.5.8 3.5.7 3.5.6 3.5.5 3.5.4.1 3.5.4 3.5.3 3.5.2 3.5.1.1 3.5.1 3.5.0.1 3.5 3.4.9 3.4.8 3.4.7 3.4.6 3.4.5 edge nightly
Doctype HTML5 Quirks
Username
Password
Login Register on tinymce.com
Give us feedback.Version 1.0 Beta (17310 fiddles)This site was heavily inspired by jsFiddle
<script type="text/javascript"> tinyMCE.init({ // General options mode : "textareas", theme : "advanced", plugins : "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager", // Theme options theme_advanced_buttons1 : "formatselect,code", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true, width: "100%", height: "400" }); </script> <textarea><p>Below are several PRE elements. Inside each, all newlines should render line breaks inside TinyMCE:</p> <p>The following PRE contains text with 2 newlines:</p> <pre>Line1 Line2 Line3</pre> <p>In the following PRE, the first newline is between the STRIKE and EM elements, but the second is inside the STRONG element.</p> <pre><strike>strike</strike> <em>emphasis</em><strong> strong</strong></pre> <p>In the following PRE, the content is inside a single CODE element, a common way to markup source code:</p> <pre><code>Line1 Line2 Line3</code></pre> </textarea>