9
Views
1
Comments
Solved
[CKEditor] Hide the HTML tags
Question
ckeditor
Web icon
Forge asset by CKEditor Team

Hi, 

I am using CK Editor and While using this I want to Hide the HTML tags which shows while Editing.

Screenshots:

I want to hide the "body h1 span" 

2023-12-16 19-57-03
Sanjay Kushwah
Solution

Hi @Harbor V,

Simply you can inspect the element and see which class is added there and hide the section using redefine class in CSS and overwrite the display property.

As i did in demo module.

.cke_path_item{    

display: none;

}

I also attached OML 


Kind regards,

Sanjay Kushwah

CKEditorReactiveDemo.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.