Issue #2183Opened August 6, 2019by sherngar1 reactions

[QUESTION] Can i add my own attribute inside the BlockManager.add ?

Question

editor.BlockManager.add('testBlock' + i, { label: 'Box' + i, attributes: { MyAttribute: 'hi'}, content: html })

Can i do something like that ? or i need to use standard html attributes?

I tried, but didn't work

Thank you.

Answers (1)

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.