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.

3.1.0 inline preview not working for some django-filer images

See original GitHub issue

I have a page which has three instances of cmsplugin-filer image plugins on it. After upgrading to djangocms-text-ckeditor 3.1.0, only the first two can be double-clicked to edit (they both show the yellow border on hover and a blue border when single-clicked).

For the third image plugin instance, there is no border shown on hover or on single click. If I double-click the image, the editor becomes disabled, no clicks or scrolling possible within the editor (the minimize/maximize/‘x’ to close and the Cancel/Delete/Save buttons are the only things that still work):

screen shot 2016-08-26 at 4 11 38 pm

The only difference between the plugins is that the third image plugin instance uses the ‘file link’ option to link the image to a cmsplugin-filer file.

If I click the ‘Source’ button in the editor, the rendered markup for the third plugin is broken:

<cms-plugin alt="Image - test.png " id="11854" render-plugin="true" title="Image - test.png"></cms-plugin>

<p>&nbsp;</p>

<figure id="image_plugin_700"><a href="/media/filer_public/81/fa/81fa62ff-51aa-4bf0-891c-223f6cc54768/test.pdf" target="_blank"><img alt="test.png" class="img-responsive" src="/media/filer_public_thumbnails/filer_public/24/fb/24fb47ed-203d-4402-8904-90825f4cb116/test.png__726x941_q85_crop_subsampling-2_upscale.png" /></a></figure>

Note that the <cms-plugin> tag closed itself without wrapping the <figure> tag and an empty <p> was added.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jsmacommented, Sep 15, 2016

This appears to have fixed all the issues I reported. Thanks for your help and work on this!

0reactions
vxsxcommented, Sep 12, 2016

https://github.com/divio/djangocms-text-ckeditor/pull/367 this one should fix the problem with the extra <p> tags

Read more comments on GitHub >

github_iconTop Results From Across the Web

3.1.0 inline preview not working for some django-filer images
I have a page which has three instances of cmsplugin-filer image plugins on it. After upgrading to djangocms-text-ckeditor 3.1.0, ...
Read more >
Increase the django-filer preview / thumbnail images within ...
Unfortunately it is not possible to configure the size of the thumbnail displayed in the admin as of the current release (1.2.7 released...
Read more >
Installation and Configuration - django-filer 2.2 documentation
It is possible to define the important part of an image (the subject location) in the admin interface for django-filer images.
Read more >
shuup - Python Package Health Analysis - Snyk
A security vulnerability was detected in an indirect dependency that is added to your project when the latest version of shuup is installed....
Read more >
conda-forge - :: Anaconda.org
A software package for algebraic, geometric and combinatorial problems... 7za, 9.20, LGPL, X, A file archiver with a high compression ratio. 7zip, 19.00 ......
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