question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bullist and numblist options are not shown in toolbar

See original GitHub issue

We have suddenly started facing issue where numlist, bullist icons do not appear in the toolbar. This was a working code for a long time and since yesterday it stopped showing the list icons.

<script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
tinymce.init({
          selector: ".editable-mce",
          menubar: false,
          toolbar: 'bold italic underline | bullist numlist outdent indent',
          inline: true,
          forced_root_block: "p",
          forced_root_block_attrs: {
            'class': 'tiny-mce-root',
            'placeholder': $(selector).attr('placeholder')
          },
          setup: function(ed) {
            ed.on('init', function(args) {
              if(view.$el.find('p.tiny-mce-root').text().trim() == '') {
                view.$el.find('p.tiny-mce-root').addClass('placeholder'); 
              } 
            });
          }
        });

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:27 (5 by maintainers)

github_iconTop GitHub Comments

19reactions
spockecommented, Nov 24, 2016

I’ve investigated this now and it’s a bug in the cdn version only since the plugin detection logic was wrong. We will fix this and release it in 4.5.1 thanks for reporting.

In the meantime use these approaches:

Enable both the lists and advlists plugins:

tinymce.init({
  selector: 'textarea',
  plugins: 'lists advlist'
});

Downgrade the cdn version to latest 4.4 using this url: http://cdn.tinymce.com/4.4/tinymce.min.js

3reactions
prcongithubcommented, Nov 24, 2016

Yes, got it working with 4.4. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

TinyMCE not giving me bullist or numlist icons in menu
The textareas are all class input-textarea, and the tinymce editor is loading jsut fine. Except, for some reason all the menu buttons are...
Read more >
Lists plugin | Docs - TinyMCE
Formats the current selection as a numbered list. These toolbar buttons can be added to the editor using: The toolbar configuration option. The ......
Read more >
TinyMCE in UI Page is missing tools from toolbar - ServiceNow
We have an old (but heavily utilized) UI Page with TinyMCE loaded on a textarea. It works fine, but some of the tools...
Read more >
Creating the lists that are numbered and bulleted in tinymce?
You need to add these to the toolbar buttons: bullist,numlist,. Thanks jlo . i was able to show the number/bullet list. But there...
Read more >
How to configure TinyMCE with additional toolbar and plugin ...
The default plugins and toolbar options are limited by design. ... alignright alignjustify | numlist bullist outdent indent | removeformat",
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found