Issue #2707Opened April 8, 2020by h3llomoto0 reactions

[BUG] built-in RTE reset styles on rte:disable

Question

Hello, @artf , I've catch a bug at built-in RTE:

  • added standart email text element with a red styled tag a inside:
<div>
  <span>
    Lorem ipsum dolor sit amet 
    <a href="https://google.com" target="_blank" style="color: #f00">red link</a>
  </span>
</div>
  • enable rte by doubleclick on span element
  • disable rte by deselecting element
  • the link is blue now

It adds "-2" to link's id after every time I deselect it. I think the problem starts at dom_components/view/ComponentView.js:318, updateContent function. GrapesJS 0.16.4

Answers (3)

h3llomotoApril 30, 20200 reactions

Hey, is there anybody?

artfMay 4, 20200 reactions

@h3llomoto PRs are welcome buddy

artfOctober 16, 20200 reactions

Fixed and ready for the next release #3069

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.