Issue #1643๐Ÿ’ฌ AnsweredOpened December 10, 2018by alialrabi0 reactions

Render New Html to editor with Action of Traits

Quick answerby artf

@alialrabi Read this before opening an issue on Github https://guides.github.com/features/mastering-markdown/ Thanks

Read full answer below โ†“

Question

I create New custom Tool with (default html) when draged , and i also create traits for this component when i click on checkbox excuting function (do stuff())>> the result of this function new html i want to append it to editor , i have used to select by class ( in jquery ) from editor( the default html to append to it ) but not work , how can i render new html to editor on action , and how can to select some html by class or id to append to it some new htmldata ============= I create my new custom tool by: this.editor.BlockManager.add('sidebar', { id: 'sidebar', label: 'SideBar', attributes:...

Answers (2)

lock[bot]โ€ข December 12, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.