department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
99 stars 69 forks source link

Editing content with WYSIWYG sometimes results in appended @font-face code #12958

Open omahane opened 1 year ago

omahane commented 1 year ago

Describe the defect

While editing KB articles, @font-face code would sometimes get appended to the intended content in the WYSIWYG. Sometimes it happens when I open the paragraph but before doing any editing myself. Sometimes it happens after I've edited the content and collapsed the WYSIWYG. In the latter case, I only notice it after I save my changes.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

AC / Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

An example where I noticed it before I began editing:

Screen Shot 2023-03-08 at 2 04 31 PM-font-face-wysiwyg

An example where it happened after I had edited

Screen Shot 2023-03-14 at 9 43 54 AM

Additional context

Add any other context about the problem here. Reach out to the Product Managers to determine if it should be escalated as critical (prevents users from accomplishing their work with no known workaround and needs to be addressed within 2 business days).

Desktop (please complete the following information if relevant, or delete)

Labels

(You can delete this section once it's complete)

Team

Please check the team(s) that will do this work.

omahane commented 1 year ago

This is still happening to me all the time.