mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
Turn your audience into a business. Publishing, memberships, subscriptions and newsletters.
bloggingcmsemberghosthacktoberfestheadless-cmsjamstackjavascriptjournalismnodejspublishingweb-application
54cc17707f
refs https://github.com/TryGhost/Ghost/issues/9724 - if a URL is pasted in a blank paragraph, insert an embed card configured to switch immediately to a link if the embed fails - if <kbd>Shift</kbd> is pressed when pasting insert a linked URL with no auto-embed - added `payload.linkOnError` handling to the embed card - if that option is set, immediately convert the embed card section to a linked URL on embed failure - skip adding an undo step when auto-converting to a URL so that no undo loop is created. Without this an undo would convert from link to embed card which would automatically look up the url then convert back to a link meaning it's impossible to undo back past the URL paste - ensure that the cursor position doesn't jump if the user has continued writing whilst the oembed lookup is in progress |
||
---|---|---|
ghost/admin |