BookStack/resources/js/services
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
..
animations.js Updated codeblock editor to work with fade animation 2019-12-07 16:54:34 +00:00
clipboard.js Better standardised and fixes areas of image pasting 2019-12-21 15:48:03 +00:00
code.js Prevented whitespace in codeblocks being trimmed 2019-12-16 11:44:28 +00:00
dates.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
dom.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
drawio.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
events.js Added editor instance event hooks 2019-10-16 18:01:35 +01:00
http.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
translations.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00
util.js Upgraded app to Laravel 5.7 2019-09-06 23:36:16 +01:00