The introduction of SVG tags to Font Awesome causes an issue with the saving of text fields using CKEditor. Adding Font Awesome icons to the CKEditor causes the CKEditor to load and display the tags as their SVG values. This allows the user to view the tags he/she has added to the field. However, this results in the entity saving the <svg> tags instead of the proper Font Awesome <i> tags. The module should hook into entity saves and modify the fields before storage to use the proper Font Awesome HTML tags.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Daniel.Moberly created an issue. See original summary.

Daniel.Moberly’s picture

Attaching patch

Daniel.Moberly’s picture

Status: Active » Needs review

  • Daniel.Moberly committed 2f6caf3 on 8.x-2.x
    Issue #2936844 by Daniel.Moberly: CKEditor saves improper tags
    
Daniel.Moberly’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.