Ghost/ghost/admin/lib/koenig-editor/addon/components
Kevin Ansfield e9a8361687 Fixed errors when pasting non-markup into basic html fields
no issue

- the editor range was getting out of sync between pasting and the subsequent `didUpdatePost` callback which cleans up content to conform to our "basic html" expectations resulting in errors in the console and potentially lost content if the paste occurred with the cursor inside existing text
- updated `handlePaste` to perform the same parse as the default paste handler but then cleanup the post before inserting so there's no mismatch of content across the editor callbacks
2021-09-03 10:51:45 +01:00
..
kg-action-bar.hbs Co-located component template files 2020-05-18 13:14:08 +01:00
kg-action-bar.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-alt-input.hbs Fixed image caption design bugs in Koenig 2020-08-27 15:21:11 +02:00
koenig-alt-input.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-basic-html-input.hbs 🎨 Enabled use of Grammarly extension in the editor 2021-06-03 13:22:07 +01:00
koenig-basic-html-input.js Fixed errors when pasting non-markup into basic html fields 2021-09-03 10:51:45 +01:00
koenig-caption-input.hbs Fixed image caption design bugs in Koenig 2020-08-27 15:21:11 +02:00
koenig-caption-input.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-bookmark.hbs Prevented card toolbar showing for embed/bookmark cards in input state 2020-10-21 18:27:26 +01:00
koenig-card-bookmark.js Added display of server-side error message when bookmark request fails 2020-06-08 17:40:33 +01:00
koenig-card-code.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card-code.js Switch deprecated htmlSafe imports from @ember/string to @ember/template 2021-05-12 12:33:40 +01:00
koenig-card-email-cta.hbs Added "Email call to action" card for an email-only CTA targeting free or paid members (#2080) 2021-09-02 13:11:15 +01:00
koenig-card-email-cta.js Added autofocus of button text input in email-cta card after enabling button 2021-08-25 15:41:30 +01:00
koenig-card-email.hbs Got rid of pre-populated content in email CTA card and updated placeholder copy 2021-07-28 16:38:11 +02:00
koenig-card-email.js Fixed email cards missing an edit icon in the toolbar 2020-12-03 10:26:28 +00:00
koenig-card-embed.hbs Prevented card toolbar showing for embed/bookmark cards in input state 2020-10-21 18:27:26 +01:00
koenig-card-embed.js Fixed error when resizing browser after pasting embed link 2021-07-14 14:50:59 +01:00
koenig-card-gallery.hbs Fixed gallery delete icon color bug 2021-09-03 11:45:29 +02:00
koenig-card-gallery.js Switch deprecated htmlSafe imports from @ember/string to @ember/template 2021-05-12 12:33:40 +01:00
koenig-card-hr.hbs Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-hr.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-html.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card-html.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-image.hbs Updated feature image design in editor 2021-06-21 12:03:40 +02:00
koenig-card-image.js Bumped eslint-plugin-ghost and fixed linter errors 2021-07-15 15:27:29 +01:00
koenig-card-markdown.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card-markdown.js Switch deprecated htmlSafe imports from @ember/string to @ember/template 2021-05-12 12:33:40 +01:00
koenig-card-paywall.hbs Changed public preview divider symbols color 2021-03-02 20:50:27 +01:00
koenig-card-paywall.js Completed paywall card implementation 2021-02-17 14:18:12 +00:00
koenig-card.hbs Updated email CTA card 2021-08-03 18:21:54 +02:00
koenig-card.js Added none/top/both/bottom divider toolbar buttons to email-cta card 2021-08-02 14:24:28 +01:00
koenig-editor.hbs Added ability to update snippet contents (#2073) 2021-09-01 09:09:40 +01:00
koenig-editor.js Passed post as a card option through to editor cards 2021-08-23 18:42:14 +01:00
koenig-link-input.hbs Koenig action bar color fixes 2021-03-09 12:45:18 +01:00
koenig-link-input.js Bumped eslint-plugin-ghost and fixed linter errors 2021-07-15 15:27:29 +01:00
koenig-link-toolbar.hbs Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-link-toolbar.js Switch deprecated htmlSafe imports from @ember/string to @ember/template 2021-05-12 12:33:40 +01:00
koenig-menu-content.hbs Added support for feature-gated editor cards 2021-07-20 10:48:41 +01:00
koenig-menu-content.js Added scroll-into-view behaviour for slash menu selection 2020-10-27 16:15:58 +00:00
koenig-plus-menu.hbs Added delete button with confirmation to snippets in card menus 2020-10-26 17:09:39 +00:00
koenig-plus-menu.js Switch deprecated htmlSafe imports from @ember/string to @ember/template 2021-05-12 12:33:40 +01:00
koenig-slash-menu.hbs Implemented first iteration of content snippets 2020-10-15 18:03:35 +01:00
koenig-slash-menu.js Bumped eslint-plugin-ghost and fixed linter errors 2021-07-15 15:27:29 +01:00
koenig-snippet-input.hbs Added ability to update snippet contents (#2073) 2021-09-01 09:09:40 +01:00
koenig-snippet-input.js Added ability to update snippet contents (#2073) 2021-09-01 09:09:40 +01:00
koenig-text-replacement-html-input.hbs 🎨 Enabled use of Grammarly extension in the editor 2021-06-03 13:22:07 +01:00
koenig-text-replacement-html-input.js Converted <KoenigCardEmailCta> to native class glimmer component 2021-07-20 18:33:39 +01:00
koenig-toolbar.hbs Updated email CTA card 2021-08-03 18:21:54 +02:00
koenig-toolbar.js Switch deprecated htmlSafe imports from @ember/string to @ember/template 2021-05-12 12:33:40 +01:00