Hi sottwell and thanks for your reply!
I did some further research and tried to deinstall the TinyMCE once again, but there was still the TinyMCE in the Elements>Plugin...so I deleted this manually like posted in this thread:
http://forums.modx.com/thread/80848/tinymce-uninstall-issue
Sounds like the plugin wasn't removed?
Can you check under Elements > Plugins if TinyMCE is still there? If it is, go ahead and remove (or deactivate) it and that should sort out your issue. If it indeed wasn't removed, that's a very good bug report for https://github.com/splittingred/TinyMCE/issues
So this finally seemed to completely delete the TinyMCE. If I want to edit a resource I see the html-source-code like it should be:
<h3>HEADLINE</h3>
<p>Text</p>
<p> </p>
<p><LOREM<br /></strong>IPSUM<br />DOLORES</p>
<p> </p>
<p><strong>LOREM</strong><br />IPSUM<br />DOLORES</p>
<p> </p>
<p>LOREM<br />IPSUM</p>
But in the Front-End the html-output is again with the totally wrong < / b r > , even WITHOUT TinyMCE...
<h3>HEADLINE</h3>
<p>Text</p>
<p> </p>
<p><LOREM<br /></strong>IPSUM<br />DOLORES</p>
<p> </p>
<p><strong>LOREM</strong><br />IPSUM<br />DOLORES</p>
<p> </p>
<p>LOREM<br />IPSUM</p></br></br></br></br></br>
Furthermore I tried to create a new Resource and added some text like this
<p>sdfdsf</p>
<p>dsf</p>
<p>dsf</p>
<p>sdf</p>
With this resource the html-output is the same, but it looks like there are < b r / >'s instead of <p>'s, so it's only a line-break instead of a "double-line-break" as it should be by using <p>. To get it look like it is a normal <p>-souble-line-break I have to add another <p> </p>...strangewise the old resources don't get affected by this, they are displayed correctly...
I'm totally confused?!
EDIT: further testing with an added < b r / >
<p>sdfdsf<br />123</p>
<p> </p>
<p>dsf</p>
<p>dsf</p>
<p>sdf</p>
HTML-OUTPUT:
<p>sdfdsf<br />123</p>
<p> </p>
<p>dsf</p>
<p>dsf</p>
<p>sdf</p></br>
This gets added after each resources that gets displayed via getPage/getResources:
[[!getPage?
&elementClass=`modSnippet`
&element=`getResources`
&parents=`8,4`
&limit=`7`
&pageVarKey=`page`
&includeTVs=`1`
&processTVs=`1`
&includeContent=`1`
&tpl=`Artikel-Start`
&tplOdd=`Artikel-rechts-Start`
]]
This is the chunk:
<div class="ContentBlock">
<div>
[[+tv.YOUTUBE:notempty=`<span id="vid"><iframe width="480" height="320" src="[[+tv.YOUTUBE]]?wmode=transparent"></iframe></span>`]]
</div>
<div>
<span class="kategorielink"><a href="[[~[[+parent]]]]">[[getResourceField ? &id=`[[+parent]]` &field=`pagetitle`]]</a></span>
<h3>[[+pagetitle]]<br /><span>[[+longtitle]]</span></h3>
[[+content:ellipsis=`800`]]
[[+content:len:gt=`800`:then=`<a class="fancybox link" href="#inline">read more...</a>
<div id="inline" style="display:none;padding:1em;width:500px;">
[[+imagelist]]
[[+tv.YOUTUBE:notempty=`<span id="vid"><iframe width="480" height="320" src="[[+tv.YOUTUBE]]?wmode=transparent"></iframe></span>`]]
</div>`]]
</div>
</div>
So those strange < / b r >'s get displayed after each
[[+content:ellipsis=`800`]]
Right now i tried to use only
and this seems to NOT add any wrong < / b r > 's! So it has to do with the ellipsis i guess?
[ed. note: profilneurotiker last edited this post 10 years, 1 month ago.]