BookStack/resources/js/components
Dan Brown a83a7f34f4
Better standardised and fixes areas of image pasting
- Extracted logic to get images from paste/drop event into own file to
align usage in both events for both editors.
- Fixed non-ability to drag+drop into WYSIWYG editor.
- Updated check for table data to look for table specific rich-text
instead of just any text since some the old check was too general and
was preventing some legitimate image paste events.

Tested on Chrome and FireFox on Ubuntu.
Attempted to test on Safari via browserstack but environment was
unreliable and could not access folders to test drag/drop of files.

Relates to #1651 and #1697
2019-12-21 15:48:03 +00:00
..
back-to-top.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
book-sort.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
breadcrumb-listing.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
chapter-toggle.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
collapsible.js Auto-expand collapsible sections if containing error 2019-12-16 13:27:17 +00:00
custom-checkbox.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
dropdown.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
editor-toolbox.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
entity-permissions-editor.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
entity-selector-popup.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
entity-selector.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
expand-toggle.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
header-mobile-toggle.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
homepage-control.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
image-picker.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
index.js added additional color settings into UI 2019-10-17 13:46:18 -05:00
list-sort-control.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
markdown-editor.js Better standardised and fixes areas of image pasting 2019-12-21 15:48:03 +00:00
new-user-password.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
notification.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
overlay.js Updated codeblock editor to work with fade animation 2019-12-07 16:54:34 +00:00
page-comments.js Merge branch 'patching-v0.27' 2019-10-16 16:37:29 +01:00
page-display.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
page-picker.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
permissions-table.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
setting-app-color-picker.js Compacted entity color options in settings view 2019-12-07 21:23:15 +00:00
setting-color-picker.js added additional color settings into UI 2019-10-17 13:46:18 -05:00
shelf-sort.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
sidebar.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
template-manager.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
toggle-switch.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
tri-layout.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
wysiwyg-editor.js Better standardised and fixes areas of image pasting 2019-12-21 15:48:03 +00:00