Issue #3012Opened September 10, 2020by krishnaeverestengineering0 reactions

How to avoid tags to be detected as Component

Question

I want to avoid some of the tags not to detect as components like 'B', 'I' etc tag. The problem is I have a component like this <p data-gjs-type="text">Insert Text Here</p> When I add Bold style to some textnode like this <p data-gjs-type="text">Insert Text <b>Here</b></p> due to its component behaviour B tag also detecting as Text component. When I saved it and come back, now it got divided into two components. So I want to Avoid some tags to be as component. How to fix this?

Answers (3)

RJCAMSeptember 10, 20200 reactions

Hi @krishnaeverestengineering why you don't just simply use the rich text editor to make the text bold? image

krishnaeverestengineeringSeptember 10, 20200 reactions

Yes we can use it . But the problem is after saving and loading the content again makes that B tag as separate text component. That I want to avoid as another component

krishnaeverestengineeringSeptember 11, 20200 reactions
<img width="809" alt="Screenshot 2020-09-11 at 9 10 41 AM" src="https://user-images.githubusercontent.com/55732888/92854461-ba449e00-f40e-11ea-9ca7-4e4a5dc26402.png">

See this, now bold text is now another text component

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.