backdrop-contrib / insert Goto Github PK
View Code? Open in Web Editor NEWUtility that makes inserting images and links to files into text areas much easier.
License: GNU General Public License v2.0
Utility that makes inserting images and links to files into text areas much easier.
License: GNU General Public License v2.0
Not sure if this can be reproduced as I don't know what factor is causing this issue on one site but not another.
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.
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...
The README.md includes the following statement:
Both of these fields are provided by Drupal core.
It should, of course, say the fields are provided by Backdrop core.
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!
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?
I think I'd better offer to maintain this project, since I'm creating PRs and issues for it...
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.
What would be needed to cut a proper release of this module?
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__" />
.
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
The download link on the project page for the current release (1.x-1.1.0) is not working.
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).
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.