Issue #3662💬 AnsweredOpened August 2, 2021by aliibrahim1231 reactions

Style manager text type

Quick answerby artf1

@aliibrahim123 if you don't specify any type, a simple text type property will be created :)

Read full answer below ↓

Question

grapesjs style manager has so many nice features, but it does not have a text property type, so why do not add it

Answers (3)

artfAugust 2, 2021

@aliibrahim123 if you don't specify any type, a simple text type property will be created :)

aliibrahim123August 2, 2021

hallo i made a simple text proporty type this is the code styleManager.addType('text', { create({ props, change }) { const el = document.createElement('div'); el.innerHTML = '<input type="text" class="my-input" />'; const inputEl = el.querySelector('.my-input'); inputEl.addEventListener('change', e...

GJSBlockMay 17, 2026

Thanks for reporting this, @aliibrahim123. Great suggestion about FEAT: style manager text type! While this specific feature isn't yet in the core API, there are several ways to achieve similar behavior. Using the event system: Alternative approaches: Listen to selector:add for CSS selector changes...

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.