1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/lib/koenig-editor/addon/components
Kevin Ansfield 3ce08aba21 Fixed <code> being persisted to email card payload
no issue

- `<code>` formatting is internal to the text replacement html input and shouldn't be persisted in the payload html
- adjust `cleanTextReplacementHtml` to strip out all `<code>` tags
- adjust `<CleanTextReplacementHtmlInput>` to strip `<code>` formatting when outputting html via the `onChange` action and to also put the `<code>` formatting back when receiving html
- adjust `<KoenigEmailCard>` to add the `<code>` formatting back around any replacement strings so that they are visible in the editor
2020-04-17 16:00:19 +01:00
..
kg-action-bar.js extract {{kg-action-bar}} component 2019-05-01 13:57:00 +01:00
koenig-alt-input.js Added ability to edit alt text for image cards 2019-07-23 18:13:41 +01:00
koenig-basic-html-input.js Fixed "special markups" not being separate across different editors 2020-04-17 14:11:19 +01:00
koenig-caption-input.js do not show card toolbar if caption has focus 2019-05-01 15:13:49 +01:00
koenig-card-bookmark.js Fixed linting 2020-01-21 17:48:54 +00:00
koenig-card-code.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
koenig-card-email.js Fixed <code> being persisted to email card payload 2020-04-17 16:00:19 +01:00
koenig-card-embed.js Added bookmark card and integrated it as fallback for unknown embeds (#1293) 2019-08-27 15:10:31 +01:00
koenig-card-gallery.js 🐛 Fixed unexpected image positions when re-ordering gallery images 2019-07-05 14:54:22 +01:00
koenig-card-hr.js Koenig - Added reading time and word count display 2018-07-20 15:53:21 +01:00
koenig-card-html.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
koenig-card-image.js Updated image card to trigger file browse immediately when inserting 2020-02-27 14:38:53 +00:00
koenig-card-markdown.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
koenig-card.js 🐛 Fixed Ctrl/Cmd+Enter toggling cards into edit mode 2020-04-06 10:49:23 +01:00
koenig-editor.js Fixed "special markups" not being separate across different editors 2020-04-17 14:11:19 +01:00
koenig-link-input.js 🐛 Fixed unreachable toolbar when editing wrapped links (#1511) 2020-03-07 18:22:56 +00:00
koenig-link-toolbar.js 🐛 Fixed unreachable toolbar when editing wrapped links (#1511) 2020-03-07 18:22:56 +00:00
koenig-menu-content.js Added first draft of email-only card 2020-04-06 10:56:40 +01:00
koenig-plus-menu.js Koenig - Unsplash integration 2018-08-10 18:11:35 +01:00
koenig-slash-menu.js Fixed slash-menu appearing empty immediately after setting title on new post 2019-04-29 17:08:40 +02:00
koenig-text-replacement-html-input.js Fixed <code> being persisted to email card payload 2020-04-17 16:00:19 +01:00
koenig-toolbar.js Koenig - Added rich-text support to captions 2018-08-08 13:38:41 +01:00