Issue with styling for KB Articles

Phanindra N
Tera Guru

I added styling for html fields in knowledge articles by placing the style for h1,h2 etc. in <style> tag. When the html field becomes read only, the style is applied all over the page.

 

I used client for DOM manipulation to disable that style tag. Here the issue is Client script is running after page loads and disabling style, where user can see the change in style while page is loading for one or two seconds.

 

Is there a way to run DOM manipulation script after DOM is constructed and before page loads (or) the approach for styling KB  Articles.

0 REPLIES 0