Coder Social home page Coder Social logo

insert's People

Contributors

bwpanda avatar herbdool avatar jromine avatar klonos avatar quicksketch avatar yorkshire-pudding avatar zlyware avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

insert's Issues

Insert fails if Drupal compatibility is disabled

Not sure if this can be reproduced as I don't know what factor is causing this issue on one site but not another.

Issue

ltK5lGDFHI
chrome_LRzbN5fhE8

Site working ok

56D59sza9C

Can anyone give me any clues as to what might be causing this on one site but not another? I'm able to upload images to this site on a content type without insert enabled, hence why I think this may have some link to Insert.

Add usage report to /admin/reports/fields

I find I sometimes would like to know where Insert is being used (e.g. on what fields/content types). One idea would be to add a column to the /admin/reports/fields page, or a new tab showing where Insert is being used...

Insert not working with multiple HTML fields

According to README.md, "Insert should work on multiple fields (the last field that was active will receive the file), and with most popular WYSIWYG editors." However, I've found that Insert doesn't work when there's more then one HTML-enabled field on the node add/edit form. No error reports that I've been able to observe!

Insert path to file

All of the styles tend to insert a tag, but I would like to just insert the path to the file. Is there an easy way to do this?

Offer to maintain

I think I'd better offer to maintain this project, since I'm creating PRs and issues for it... ๐Ÿ™‚

Offer to maintain this project

I'd like to offer to help maintain this project. I use this module on Drupal and Backdrop sites. There is no current maintainer. I will submit a PR adding my name as a maintainer.

Full release?

What would be needed to cut a proper release of this module?

'__alt__' not removed in markdown

When using markdown (e.g. ![__alt__]([PATH])) the __alt__ part isn't removed when there's no alt text as the regex is looking for it to be surrounded with " (e.g. "__alt__"). So we get output like <img src="[PATH]" alt="__alt__" />.

Insert with colorbox module unable to locate colorbox-insert-image.tpl.php

When using insert module with colorbox module, on the node edit form the image insert button fails, and logs errors:

Warning: include(): Failed opening 'backdrop.site/modules/colorbox/colorbox-insert-image.tpl.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in include() (line 1541 of backdrop.site/core/includes/theme.inc).

It should be finding the file in colorbox/templates/colorbox-insert-image.tpl.php

Insert button does not insert image into ckeditor text field (long with summary)

I can load an image via the "Browse" or "Select Existing..." buttons in an Image field and the Insert button is displayed. However, the image does not appear in the ckeditor text field (long with summary) when the insert button is clicked.

I also get multiple warning messages when I upload an image into the Image field (or use the Remove button) which may or may not be related:

Warning: Use of undefined constant IMAGE_DERIVATIVE_TOKEN - assumed 'IMAGE_DERIVATIVE_TOKEN' (this will throw an Error in a future version of PHP) in template_preprocess_image_insert_image() (line 65 of /apache/www/html/smbmc/modules/insert/includes/image.inc).

Warning: include(/apache/www/html/smbmc/modules/colorbox/colorbox-insert-image.tpl.php): failed to open stream: No such file or directory in include() (line 1546 of /apache/www/html/smbmc/core/includes/theme.inc).

Warning: Use of undefined constant IMAGE_DERIVATIVE_TOKEN

The module causes the following error:

Warning: Use of undefined constant IMAGE_DERIVATIVE_TOKEN - assumed 'IMAGE_DERIVATIVE_TOKEN' (this will throw an Error in a future version of PHP) in template_preprocess_image_insert_image() (line 65 of /home/username/public_html/modules/insert/includes/image.inc).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.