Edit as HTML in IE for Style Element

358 views Asked by At

I am not sure why Edit as HTML of <style> element is disabled in IE
However, I can edit as HTML of the <style> element in Chrome.
How to enable it?

enter image description here

2

There are 2 answers

0
avisionx On

Your IE might be outdated or isn't a compatible version checkout https://ckeditor.com/docs/ckeditor4/latest/guide/dev_browsers.html it's generally used in modern-day browsers for enabling writing content directly inside of web pages or online applications. Its core code is written in JavaScript and it is developed by CKSource.

0
Deepak-MSFT On

I try to check the Edit as HTML option and it looks like IE does not support editing the CSS using this option. This is the reason that the Edit as HTML option is disabled for style elements.

However, if you select any specific HTML element on the page using developer tools then you can see the applied CSS in the Styles tab that gets displayed in the right sidebar of the developer tools.

Here, you can add, edit, or delete the CSS elements.

See here:

enter image description here

References:

  1. Editing elements

  2. Styles

Note: You may notice that the above document links for the Edge legacy browser, but both the MS Edge legacy browser and IE browser use the same developer tools. So this information also applies to the IE browser.