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

Writing a Third Party Plugin #74

Open
MSBPeace opened this issue Sep 13, 2019 · 1 comment
Open

Writing a Third Party Plugin #74

MSBPeace opened this issue Sep 13, 2019 · 1 comment

Comments

@MSBPeace
Copy link

We are trying to write some custom functionality that we want to include into the FROALA editor field in Django. Unfortunately there seems to be no clear cut way to do this.

We've simply tried copying an existing THIRD PARTY PLUGIN and renaming some of the values but for some reason FROALA does not load this plugin into the editor.

Would it be possible to get a MVC on how to get this done?
The examples in the documentation all point to the user having access to the FROALA object while it is being instantiated using javascript but since Django handles this we are unsure on how to achieve this.

@tisdall
Copy link

tisdall commented Oct 3, 2019

In order to use your own plugins, you need to manually load them in the template after the {{ form.media }} tag with a <script> tag.

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

2 participants