madebymany / sir-trevor-js

Rich content editing entirely re-imagined for the web

Home Page:http://madebymany.github.io/sir-trevor-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom List Block

nilsi opened this issue · comments

Hi,

How can I create a custom list block? I want the same functionality as the default one but just change the name and icon.

I found the block here:
https://github.com/madebymany/sir-trevor-js/blob/b28af9e608b736ed495944df94ad54eec55c9d06/src/blocks/list.js

How hard would it be to transform this code into a custom block so I can duplicate it and change name. I need a couple of different list blocks that are basically just a regular list block but with a different name.

Thanks for the help.