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.

Admin errors unless text plugin is included

See original GitHub issue

If fluent_contents.plugins.text is not installed and included in the list of plugins for a PlaceholderField, a JavaScript ReferenceError occurs in the admin interface.

Trace:

Uncaught ReferenceError: django_wysiwyg is not defined   cp_widgets.js:39
cp_widgets.enable_wysiwyg             @ cp_widgets.js:39
cp_plugins.enable_pageitem            @ cp_plugins.js:813
cp_plugins._move_item_to              @ cp_plugins.js:256
cp_plugins.move_items_to_pane         @ cp_plugins.js:217
cp_plugins.move_items_to_placeholders @ cp_plugins.js:124
cp_plugins.post_init                  @ cp_plugins.js:88
onReady                               @ cp_admin.js:30
fire                                  @ jquery.js:3099
self.fireWith                         @ jquery.js:3211
jQuery.extend.ready                   @ jquery.js:3417
completed                             @ jquery.js:3433

I’m working around this by including the Text plugin so that django_wysiwyg is loaded, but it doesn’t seem right to assume that this will always be present.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vdboorcommented, Apr 26, 2017

Sorry, it’s merged now!

0reactions
seroycommented, Feb 9, 2017

Hello. What about my PR #88?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reporting fatal error with wordpress 5.8
Hello,. The Enhanced Text widget used to work perfectly well until last weeb, but I'm sorry, I come to report wordpress 5.8 broke...
Read more >
How to Fix the "There Has Been a Critical Error on Your ...
The quickest way to fix the problem is to roll back your website if you have a backup, but there are a variety...
Read more >
Most common plugin errors in TinyMCE and how to fix them
Ways to fix the most common plugin errors in TinyMCE and why those happen, including “TinyMCE failed to load plugin” error.
Read more >
50 Most Common WordPress Errors and How to Fix Them
If you don't have access to the admin email or can't get WordPress emails then it becomes harder to find out what error...
Read more >
Complete Guide to WordPress Admin Notices
If so, most likely it is because the settings page is located under the Settings menu AND settings_errors() is included in the plugin...
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