Answer the question
In order to leave comments, you need to log in
How to fix Lightbox plugin in Ckeditor?
Hello!
The Ckeditor editor has the only plugin to insert Lightbox - ckeditor.com/addon/lightbox
but there is an error in it, the link above describes the error and seems to offer a fix, but I don’t know where to insert this fix in scripts?
Answer the question
In order to leave comments, you need to log in
You need to modify the lightbox.js script located in the downloaded archive of the lightbox\dialogs\lightbox.js plugin.
Lines of code marked in front with a minus are removed and replaced with lines marked with a plus. If I'm not mistaken, then this code starts from line 144 in the above lightbox.js from the plugin archive
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question