Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5859 closed Bug (invalid)

Non HTML Tags will be sort next by next

Reported by: Hasan H. Gürsoy Owned by:
Priority: Normal Milestone:
Component: General Version: 3.3.1
Keywords: Pending Cc:

Description

We use CKeditor for Mail Template creations and have some trouble since last Versions. We use Smarty Template Engine for our Template, which has Tags like

{foreach ......}
HTML 
{/foreach}

By cleaning up the code, CKeditor produces somthing like that

{foreach ....} {/foreach}
HTML

so the middle Part won't be iterated anymore.

Attachments (1)

sample.html (7.3 KB) - added by Hasan H. Gürsoy 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by Hasan H. Gürsoy

Attachment: sample.html added

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Pending added

Are you using the protected source feature to keep the smarty tags untouched? Other than the contents sample, do you have a sample page wit the editor, that can be used to test it.

comment:2 Changed 14 years ago by Hasan H. Gürsoy

We use the default Settings, without any changes. You can put the source code in the demo here on the site in source view and change to normal view

comment:3 Changed 14 years ago by Hasan H. Gürsoy

ok i've checked it with protectedSource, so it would be safed on the right position, but it won't be displayed any more, so nobody could change position of them

comment:4 Changed 14 years ago by Frederico Caldeira Knabben

Resolution: invalid
Status: newclosed

The problem here is that you have the tags in invalid places, like in between </tr> and <tr>. There is no way for the editor to render it properly, as this is invalid HTML.

You must either decide to leave the user to view and change the tags in wysiwyg view, but having tags only on valid places where a normal text node can be, or use protected source, having total freedom to place the tags anywhere in source view.

comment:5 Changed 14 years ago by Hasan H. Gürsoy

It would be nice, if you could check it against FCKeditor 2.6.4.1 In that version it has ran without any problems, thnx

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy