Opened 10 years ago

Closed 10 years ago

#12945 closed Bug (invalid)

formatting issues even after disabling formatting

Reported by: Rajender Prasad Dubala Owned by:
Priority: Normal Milestone:
Component: Core : Parser Version:
Keywords: Cc:

Description

Hi,

I am working with latest version (4.4.7) of ckeditor. As part of our application we will need to include some custom tags in HTML content. To allow any content by ckeditor we disabled formatting by setting this property to true.

config.allowedContent = true;

I have added below content in source mode:

<a href="abcfunction("https://www.infor.com/")">somelabel</a>

When i switched to WYSIWYG mode and switched back to source mode.

The content changed to:

<p><a href="`urltrackraw(" https:="" www.infor.com="">Timesheet</a></p>

URL is completely changed to something else. Can you please help us on this?

Change History (2)

comment:1 Changed 10 years ago by Rajender Prasad Dubala

Hi,

I am working with latest version (4.4.7) of ckeditor. As part of our application we will need to include some custom tags in HTML content. To allow any content by ckeditor we disabled formatting by setting this property to true.

config.allowedContent = true;

I have added below content (we need to add nested quotes) in source mode:

<a href="abcfunction("https://www.infor.com/")">somelabel</a>

When i switched to WYSIWYG mode and switched back to source mode.

The content changed to:

<p><a href="`urltrackraw(" https:="" www.infor.com="">Timesheet</a></p>

URL is completely changed to something else. Can you please help us on this?

comment:2 Changed 10 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.4.7

Can you please help us on this?

Yes, please change your code to:

<a href="abcfunction('https://www.infor.com/')">somelabel</a> 

and please don't nest quotation marks.

As for custom tags - there is no way to have block-lever custom tags at the monent - http://dev.ckeditor.com/ticket/10340. Inline custom tags are possible to achieve by disabling or better extending ACF and modifying DTD.

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