Skip to main content

Notifications

Customer Service forum
Answered

Is it possible to stop KB Article WYSIWYG editor to add unwanted CSS styles

Posted on by 112

When entering Article content the editor adds CSS styles in the markup, which can be annoying if you want to keep a styling consistent in a Power Portal.

pastedimage1642615786163v1.png

Is it possible to turn this off and make the editor just create HTML markup without any CSS?

  • HangryMapache Profile Picture
    HangryMapache 112 on at
    RE: Is it possible to stop KB Article WYSIWYG editor to add unwanted CSS styles

    Thanks ! 

    Having issues to get the changes to the form published but it finally worked.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is it possible to stop KB Article WYSIWYG editor to add unwanted CSS styles

    Hi HangryMapache,

    This is because there is an attribute named stickyStyle to automatically add css:

    pastedimage1642661741773v1.png

    You can use the rich text editor control to customize you attribute instead of kbeditorcontrol. Please refer to this doc:

    docs.microsoft.com/.../rich-text-editor-control

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,782 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,067 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,150

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans