Issue #2309💬 AnsweredOpened October 5, 2019by shubhd470 reactions

Is there a way to add alphabetical ordered list

快速解答by artf

Hi @shubh9415 the default RTE relies on execCommand API so the only available options are insertOrderedList and insertUnorderedList.

Read full answer below ↓

Question

Hey, @artf thanks for creating this awesome library. its really helpful. I am using it in angular and I have used order list with numbers but it would be really helpful if there is a way to add an alphabetical ordered list or in roman numbers I was trying this

this._editor.RichTextEditor.add('orderedList',
          {
            icon: 'a',
            attributes: { title: 'Ordered List',type:'a' },
            result: rte => rte.exec('insertOrderedList'),

          });

but didn't work. please help

Answers (1)

artfOctober 6, 2019

Hi @shubh9415 the default RTE relies on execCommand API so the only available options are insertOrderedList and insertUnorderedList.

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.