Issue #1580💬 AnsweredOpened November 14, 2018by maxeckel0 reactions

Add Custom Button to RTE

Quick answerby maxeckel

Nevermind 🤦‍♂️ I found the issue, i thought my local dev env would be using the grapesjs version (14.40) installed via npm, but it was loading an older (10.7) version from unpkg... that's what caused the problem. I hope this will atleast help somebody else who runs into this... Here is the final code i use: This will...

Read full answer below ↓

Question

Hello all, i'm currently trying to move away from ckeditor (used in an legacy app to create emails and microsites). This works very well actually, but i have the need to insert Placeholders/Tags/Merge Fields however you want to call them, into the text (like [[salutation]] [[firstname]] etc.). So at first i looked at grapesjs source on how to add an custom element to the rte and found an example in a code comment. The same example as in the api docs: But even the example doesn't work. All it shows is an empty button in the RTE Toolbar: Having looked around in the issues, i found something lik...

Answers (2)

maxeckelNovember 15, 2018

Nevermind 🤦‍♂️ I found the issue, i thought my local dev env would be using the grapesjs version (14.40) installed via npm, but it was loading an older (10.7) version from unpkg... that's what caused the problem. I hope this will atleast help somebody else who runs into this... Here is the final c...

lock[bot]November 15, 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 →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.