This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Koenig - Fixed caption/embed inputs in Firefox & Safari
refs TryGhost/Ghost#9623 - disable `contenteditable` on the main editor element when an input in a card gains focus - Firefox chokes on inputs inside a `contenteditable` element - use a MutationObserver inside `{{koenig-card}}` to automatically add event handlers for focus/blur events so that each card is not required to set up handlers and enable/disable content editable manually - bump Spirit dependency - remove `user-select: none` styling from `.form-text` for text inputs - fixes captions and embed inputs in Safari and improves behaviour in Firefox - add a guard around `getSelection(0)` in the `_scrollCursorIntoView()` method to avoid Safari throwing errors
- Loading branch information
1 parent
5b369a9
commit fe840a2
Showing
6 changed files
with
95 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5182,9 +5182,9 @@ ghost-ignition@^2.7.0: | |
prettyjson "^1.1.3" | ||
uuid "^3.0.0" | ||
|
||
[email protected].24: | ||
version "0.0.24" | ||
resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.24.tgz#004ab09fcbc7b0ff3db6f769b66a5d6b892a4c90" | ||
[email protected].25: | ||
version "0.0.25" | ||
resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.25.tgz#dc9ff150b18002da2b554d71620d4f7ff1b911d7" | ||
dependencies: | ||
autoprefixer "8.2.0" | ||
bluebird "^3.4.6" | ||
|