Skip to content

Commit

Permalink
Fix: Allow double clicks to propagate.
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Jul 18, 2024
1 parent f88ca8d commit 7b59346
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 302 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
// if event is a jQuery event (touchend), than we mutate
// event a bit so we make the payload similar to what ckeditor.event produces
var handleEdit = function (event) {
event.stop();

if (event.type === 'touchend' || event.type === 'click') {
var cmsPluginNode = $(event.currentTarget).closest('cms-plugin')[0];
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion djangocms_text_ckeditor/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


# this path is changed automatically whenever you run `gulp bundle`
PATH_TO_JS = 'djangocms_text_ckeditor/js/dist/bundle-9f0bbac8ec.cms.ckeditor.min.js'
PATH_TO_JS = 'djangocms_text_ckeditor/js/dist/bundle-a9032984d4.cms.ckeditor.min.js'


class TextEditorWidget(forms.Textarea):
Expand Down
Loading

0 comments on commit 7b59346

Please sign in to comment.