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.

Apart from loading all plugins, Setting plugin is not working it gives this error! This is my code

const suneditor = require('suneditor')
const align = require('suneditor/src/plugins/submenu/align')

suneditor.create('editor', {
  plugins: [align],
  buttonList: [['align']]
})


Uncaught Error: [SUNEDITOR.core.callPlugin.fail] The called plugin does not exist or is in an invalid format. (pluginName:“align”) at Object.callPlugin (core.js:223) at HTMLDivElement.onClick_toolbar

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
kidar2commented, Oct 29, 2021

the error is repeated on the versions: “suneditor”: “^ 2.41.3”, “suneditor-react”: “^ 3.3.0”,

2reactions
mkhstarcommented, Dec 12, 2019

Thanks I applied it to suneditor-react

Read more comments on GitHub >

github_iconTop Results From Across the Web

Settings | Plugin Developer Handbook
The Settings API focuses on providing a way for developers to create forms and manage form data. The Options API focuses on managing...
Read more >
WordPress - Plugin Setting - Tutorialspoint
Following are the simple steps to add plugins. Step (1) − On the left side bar, Click on Plugins → Installed Plugins as...
Read more >
How to Enable Click-to-Play Plugins in Every Web Browser
To enable it, click the Opera menu button, select Settings, and select Websites on the Settings page. Enable the Click to play option...
Read more >
Install plugins | IntelliJ IDEA Documentation - JetBrains
Press Ctrl+Alt+S to open the IDE settings and select Plugins. The Plugins settings dialog. Use the Marketplace tab to browse and install ...
Read more >
5 Ways to Create a WordPress Plugin Settings Page
Let's take a look at various ways of adding a settings page to your WordPress plugin. WordPress Settings API; A Custom Fields Framework;...
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