Issue #2198○ OpenOpened August 16, 2019by ghost0 reactions

Issue in editing sample content by changing color and font in GrapesJS editor

待解决问题

No community answers yet. Open the original discussion on GitHub to share your solution.

Question

I am seeing unexpected behavior in GrapesJS editor. can someone please assist me with the issue with GrapesJS editor?

  1. if I am copying content from outlook and directly pasting into GrapesJS editor. it's adding some outlook specific tags (Junk Tags Like : MsoNormal, </o:p> , etc ) into the content, because of these junk tags I am facing difficulty to edit the content what ever i saved.
代码片段HTML
Example : its adding these many things for this content 
Hi Arjun,

please find below are the things which you need to confirm on Sunday.

Thanks.


   <td class="c903" style="box-sizing: border-box; font-size: 11.0pt; font-family: Arial,sans-serif; color: #434449;">
                        <p style="box-sizing: border-box;">
                        </p>
                        <p class="MsoNormal" style="box-sizing: border-box;">
                          <span class="c1937" style="box-sizing: border-box; font-size: 11.0pt; font-family: 'Calibri',sans-serif;">Hi
                            Arjun,<o:p style="box-sizing: border-box;">
                            </o:p></span>
                        </p>
                        <p class="MsoNormal" style="box-sizing: border-box;">
                          <span class="c1979" style="box-sizing: border-box; font-size: 11.0pt; font-family: 'Calibri',sans-serif;"> </span>
                        </p>
                        <p class="MsoNormal" style="box-sizing: border-box;">
                          <span class="c2003" style="box-sizing: border-box; font-size: 11.0pt; font-family: 'Calibri',sans-serif;">please
                            find below are the things which you need to confirm on Sunday.<o:p style="box-sizing: border-box;">
                            </o:p></span>
                        </p>
                        <p class="MsoNormal" style="box-sizing: border-box;">
                          <span class="c2045" style="box-sizing: border-box; font-size: 11.0pt; font-family: 'Calibri',sans-serif;"> </span>
                        </p>
                        <p class="MsoNormal" style="box-sizing: border-box;">
                          <span class="c2069" style="box-sizing: border-box; font-size: 11.0pt; font-family: 'Calibri',sans-serif;">Thanks.<o:p style="box-sizing: border-box;">
                            </o:p></span>
                        </p>
                        <p style="box-sizing: border-box;">
                        </p>
                      </td>

2. it is not reflecting the colors for the content whatever we are saving.

Answers (0)

No answers yet.

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.