Opened 5 years ago

Closed 5 years ago

#11230 closed Task (invalid)

Is it possible to add Tags around content automaticly

Reported by: Sebastian Röher Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Hello guys,

sry that i write u here, but on the other ways i didn't got any response.

have the problem, that my Java-Application behind my CKEDITOR is getting a failure, when I save an part of a html cause it my have not have a root-tag.

Well let me show what i mean

This is my content from CKEDITOR sent to my Servlet:

<P>Es stehen Ihnen folgende weitere Suchmöglichkeiten zur Verfügung:</P>
<P>
      ....
</P>

But my servlet doesn't recognize it as valid html/xml and converts it to normal text (it replaces < and > to html-entities.

So I wanted to ask: Is it possible to let CKEDITOR automatically add a root-tag (div in this case) around my content if there is none (like below)?

<div>    
    <P>Es stehen Ihnen folgende weitere Suchmöglichkeiten zur Verfügung:</P>
    <P>
....
    </P>
</div>

Kind regards Basti890

I would be very thankful if you would help me with my problem. You don't need to answer here u can also answer in my thread in forum: http://ckeditor.com/forums/Support/HELP-I-need-to-add-a-root-tag-if-missing

Change History (1)

comment:1 Changed 5 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed
Version: 4.3

I'm sorry, but this isn't a forum.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy