Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 6.1.1 CE GA2, 6.2.0 CE M4
-
Fix Version/s: 6.1.1 CE GA2, 6.2.0 CE M4
-
Component/s: WCM, WCM > Web Content Administration
-
Labels:
-
Environment:ubuntu, liferay 6.1.1 CE GA2
-
Fix Priority:4
-
Similar Issues:
Description
When creating a web content and using the source mode of the default web content editor, it changes html structure.
to reproduce please:
- create web content, give it a name
- switch editor to "source" mode
- paste html below
- save
- go back to edit the same web content and switch to "source" mode
- see changes in html structure (span tags)
html (copied from welcome theme for convenience):
<footer id="footer" role="contentinfo">
<div class="column-1" id="getting-started">
<div class="footer-column-content">
<span class="footer-logo"></span>
<div class="footer-box">
<h3>Change User Data</h3>
<a href="/group/control_panel/manage?p_p_id=2&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view">Go to MyAccount ?</a>
</div>
</div>
</div>
<div class="column-2" id="ide">
<div class="footer-column-content">
<span class="footer-logo"></span>
<div class="footer-box">
<h3>Need Help Getting Started?</h3>
<a href="//www.liferay.com/start?wh=15">Click here ?</a>
</div>
</div>
</div>
<div class="column-3" id="social-office">
<div class="footer-column-content">
<span class="footer-logo"></span>
<div class="footer-box">
<h3>Develop Faster.</h3>
<a href="//www.liferay.com/ide?wh=16">Click here ?</a>
</div>
</div>
</div>
</footer>
Issue Links
- is related to
-
LPS-33501
CKEditor adds unnecessary <p> tags around content from WYSIWYG mode
-

It also adds random <p> </p> tags after saving from WYSIWYG mode.