Message Boards

Wiki text plain editor and html

jllaurado jllaurado, modified 19 Years ago.

Wiki text plain editor and html

New Member Posts: 5 Join Date: 8/19/04 Recent Posts
Hello all,<br /><br />I have found an estrange beaviour of the plain text editor in the wiki portlet.<br /><br />When I write an HTML page using the plain text editor, I have found that the save button change the page dissapearing a few tags.<br /><br />I have detected the problem with the following tags: object, embed, script.<br /><br />The easiest way to make html pages is using an html editor (like Dreamweaver) and then copy-paste the code in the plain text editor, but if the wiki portlet deletes some code that&#39;s a real and big problem for me...<br /><br />Anybody knows why that happens or what can I do to write HTML pages in the portal without using the WYSIWYG interface?<br /><br />Best regards.
thumbnail
Brian Chan, modified 19 Years ago.

Wiki text plain editor and html

Liferay Master Posts: 753 Join Date: 8/5/04 Recent Posts
Use WYSIWYG, check &quot;Source&quot; bottom right.<br /><br />Paste your source.
jllaurado jllaurado, modified 19 Years ago.

Wiki text plain editor and html

New Member Posts: 5 Join Date: 8/19/04 Recent Posts
Thanx for the answer.<br /><br />The problem with the WYSIWYG soruce code editor is that replaces the carry returns of all the code making the code unreadable and replaces the spaces with &quot;&amp;amp;nbsp;&quot; destroying all the layout of the page.<br /><br />Any solution to that problem?<br /><br />Best regards.
thumbnail
Brian Chan, modified 19 Years ago.

Wiki text plain editor and html

Liferay Master Posts: 753 Join Date: 8/5/04 Recent Posts
That should only happen if you&#39;re not pasting in source mode.
jllaurado jllaurado, modified 19 Years ago.

Wiki text plain editor and html

New Member Posts: 5 Join Date: 8/19/04 Recent Posts
When I paste in source mode sometimes appears the &amp;nbsp;, but the real problem is when I save the page, because Liferay &#39;eats&#39; a few tags, like javascript. How can I change this beaviour?<br /><br />Is there any way to deactivate the parsing of the page, and allowing save it as I have write it?<br /><br />Thanx in advance.