Issue #1729Opened January 15, 2019by K4ST0R0 reactions

[BUG] Attributes property is not working

Question

Version: 0.14.50

Edit: Sorry, I saw it is working when i add the trait manager. Attributes are not set in component.

Exemple with : editor.BlockManager.add('h1-block', { label: 'Heading', content: '<h1>Put your title here</h1>', category: 'Basic', attributes: { title: 'Insert h1 block' } });

Results in : <h1 data-gjs-type="text" data-highlightable="1" class="gjs-comp-selected">Put your title here</h1>

Attributes title is not set.

Thank you,

Answers (1)

lock[bot]January 15, 20200 reactions

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

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.