Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading external plugins from local machine #52

Closed
varunmeka opened this issue Feb 25, 2019 · 6 comments
Closed

Loading external plugins from local machine #52

varunmeka opened this issue Feb 25, 2019 · 6 comments

Comments

@varunmeka
Copy link

Hi i had a plugin in my local machine and i try to integration it in existing build using the following code

external_plugins: {
    'eqneditor':'file:///Users/varun.meka/Desktop/tiny_mce_v3.5.8⁩/plugins⁩/equation⁩/editor_plugin.js'
  },

but it's not loading

@fyrkant
Copy link
Contributor

fyrkant commented Feb 25, 2019

The file has to be on a web server, not just on your computer.

@varunmeka
Copy link
Author

Can't I load plugins from my local machine

@fyrkant
Copy link
Contributor

fyrkant commented Feb 25, 2019

You can run a simple http server on you local machine and use that address.

@varunmeka
Copy link
Author

external_plugins: {
    'eqneditor':'http://0.0.0.0:8000/editor_plugin.js'
  },
plugins: 'eqneditor',
toolbar1: 'formatselect eqneditor| bold italic strikethrough'

i was running it on server, it's showing no error but still can't load the plugin

@varunmeka
Copy link
Author

Hi @fyrkant , I found the issue the plugin is made for tinymce v4 but i am using in tinymce v5 is there any way to use v4 plugins

@fyrkant
Copy link
Contributor

fyrkant commented Feb 26, 2019

Not without changing the plugin, I'm afraid.

@SimonFc SimonFc closed this as completed Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants