Issue #1280πŸ’¬ AnsweredOpened Jul 12, 2018by HakuTheWolfSpirit0 reactions

Rendering third party components in grapessj editor

Quick answerby artf

Vue compiles at runtime if you use the version with compiler. Exactly like this component https://github.com/alexjoverm/v-runtime-template As second question I'd like to know whether it is possible to hook onto events from the editor from inside a component Yeah, you can access the editor model from components via thi...

Read full answer below ↓

Question

Hello, we'd like to render third party controls. This is a general question and we wan't to know whether we are going into the right direction. To render the controls we are required to use a third party technology (Vue, React, or similar frameworks). Both of the frameworks have one common problem: they are lagging the ability to render components at runtime. The problem with Vue e.g. is that it removes the wrapper node and its children. It would be easily possible to recreate the html structure. However, backbone doesn't seem to like that one and the model is lost and therefore the editor st...

Answers (3)

artfβ€’ Jul 15, 2018

Vue compiles at runtime if you use the version with compiler. Exactly like this component https://github.com/alexjoverm/v-runtime-template As second question I'd like to know whether it is possible to hook onto events from the editor from inside a component Yeah, you can access the editor model fro...

HakuTheWolfSpiritβ€’ Jul 31, 2018

Hi, thanks for the answer.Vue compiles at runtime if you use the version with compiler. Exactly like this component https://github.com/alexjoverm/v-runtime-template The problem with Vue is that there is not really a method that allows me to put a string in as parameter and get html as an output. I...

artfβ€’ Aug 2, 2018

The problem with Vue is that there is not really a method that allows me to put a string in as parameter and get html as an output. I have asked this question on StackOverflow and hopefully I will get an answer in near time. yeah but you can always create an element and mount the Vue instance at ru...

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 β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.