Opened 9 years ago

Closed 9 years ago

#13682 closed Bug (invalid)

Font tag is not working

Reported by: Nayan Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Steps to reproduce

  1. In CKEditor after version 4.0 IE11 browser is supporting but problem is while editing time <font> tag is not supporting.
  2. Below version 3.6 is not supporting to IE11 but <Font> tag is supporting
  3. Please give me a solution. it would be appreciate to you.

Expected result

<Font> should support Or convert to <Span>

Actual result

<Font> is not supporting

Other details (browser, OS, CKEditor version, installed plugins) == IE9,IE10,IE11

Change History (2)

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

Keywords: Font tag is Not Supporting in IE11 removed
Status: newpending
Version: 4.5.2

AFAICS, the behaviour in CKE 4 and 3 is identical – CKEditor allows to load font tags (if configured correctly), but will transform them into spans when editor. Could you describe more precisely what doesn't work?

comment:2 Changed 9 years ago by Jakub Ś

Resolution: invalid
Status: pendingclosed

From what I have checked font tag is preserved in the editor but ACF by default does not allow it.

This can be configured with the following setting config.extraAllowedContent = 'font[*](*){*}';

@Nayan please see below to learn something more about ACF.
http://docs.ckeditor.com/#!/guide/dev_acf
http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
http://docs.ckeditor.com/#!/guide/dev_disallowed_content
http://docs.ckeditor.com/#!/api/CKEDITOR.filter-method-addTransformations
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-extraAllowedContent
http://nightly.ckeditor.com/14-03-20-07-05/full/samples/datafiltering.html

NOTE: @Reinmar version 4.0 preserves font tag so @Nayan was probably writing in general about version 4.

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