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.

Hi, Is there any way to add external plugins? As in ckeditor documentation:

CKEDITOR.plugins.addExternal('youtube', '../node_modules/ckeditor-youtube-plugin/youtube/');

config.extraPlugins = 'youtube';

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ttugatescommented, Aug 25, 2017

I was able to go https://ckeditor.com/builder, and after selecting all the plugins I wanted… Chose download, with radio button set to Optimized…

Then copied all contents to Angular Project.

Then just instead of CDN, use: <script src="ckeditor/ckeditor.js"></script>

Lastly, I used to have to do this, and now I dont… At least for all plugins… So will add just in case:

@ViewChild('ck') public ckeditor: CKEditorComponent;
public ckConfig: any;

 this.ckConfig = {
      removePlugins: 'resize',    
      extraPlugins: 'divarea,uploadimage'
    };

I am using other plugins not listed in extraPlugins…

1reaction
fairmutexcommented, Mar 24, 2019

I got Local custom plugins to work along with ng2-ckeditor/ckeditor4 in angular 7 and probably it even works with previous versions too. I don’t mean to necro but some might find it useful.

For this I used the custom plugin from here

Place your plugin in the assets folder as below image

and modify your index.html as below

<script src="https://cdn.ckeditor.com/4.5.11/full-all/ckeditor.js"></script>
<script type="text/javascript">
   CKEDITOR.plugins.addExternal('timestamp', '/assets/ckeditor/plugins/timestamp/', 'plugin.js');
</script>

The forward slash leading the assets folder is everything here. If it is not there it will try to get the plugin from their CDN

also add it to the config

  this.ckeConfig = {  
    allowedContent: false,    
    extraPlugins: 'divarea,timestamp',    
    forcePasteAsPlainText: false    
  };   
Read more comments on GitHub >

github_iconTop Results From Across the Web

External plugins | Telegraf 1.21 Documentation
External plugins are external programs that are built outside of Telegraf that can run through an execd plugin. These external plugins allow for...
Read more >
External Plugins - influxdata/telegraf - GitHub
External plugins are external programs that are built outside of Telegraf that can run through an execd plugin. These external plugins allow for...
Read more >
External Plugins | bnd - Bndtools
External Plugins. External Plugins are external code to bnd code but that can be executed from within bnd. The JARs for this code...
Read more >
External plugins overview - Learn Netdata
This plugin allows Netdata to use external plugins for data collection: external data collection plugins may be written in any computer language ...
Read more >
External Plugins - Apache Hop
Hop plugins is an external repository containing a collection of plugins that can be used with but can't or won't be shipped with...
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