kopia lustrzana https://github.com/wagtail/wagtail
Preserve links when copy-pasting rich text content from Wagtail to other tools (#5054)
rodzic
e77338f1a3
commit
96ec1e0e4e
|
@ -9,6 +9,7 @@ Changelog
|
|||
* Automatic search indexing can now be disabled on a per-model basis via the `search_auto_update` attribute (Karl Hobley)
|
||||
* Improved diffing of StreamFields when comparing page revisions (Karl Hobley)
|
||||
* Highlight broken links to pages and missing documents in rich text (Brady Moe)
|
||||
* Preserve links when copy-pasting rich text content from Wagtail to other tools (Thibaud Colas)
|
||||
* Fix: Set `SERVER_PORT` to 443 in `Page.dummy_request()` for HTTPS sites (Sergey Fedoseev)
|
||||
* Fix: Include port number in `Host` header of `Page.dummy_request()` (Sergey Fedoseev)
|
||||
* Fix: Validation error messages in `InlinePanel` no longer count towards `max_num` when disabling the 'add' button (Todd Dembrey, Thibaud Colas)
|
||||
|
|
|
@ -84,6 +84,7 @@ class TooltipEntity extends Component {
|
|||
/* eslint-disable springload/jsx-a11y/interactive-supports-focus */
|
||||
return (
|
||||
<a
|
||||
href={url}
|
||||
role="button"
|
||||
// Use onMouseUp to preserve focus in the text even after clicking.
|
||||
onMouseUp={this.openTooltip}
|
||||
|
|
|
@ -4,6 +4,7 @@ exports[`TooltipEntity #openTooltip 1`] = `
|
|||
<a
|
||||
className="TooltipEntity"
|
||||
data-draftail-trigger={true}
|
||||
href="https://www.example.com/"
|
||||
onMouseUp={[Function]}
|
||||
role="button"
|
||||
>
|
||||
|
@ -76,6 +77,7 @@ exports[`TooltipEntity works 1`] = `
|
|||
<a
|
||||
className="TooltipEntity"
|
||||
data-draftail-trigger={true}
|
||||
href="https://www.example.com/"
|
||||
onMouseUp={[Function]}
|
||||
role="button"
|
||||
>
|
||||
|
|
|
@ -19,6 +19,7 @@ Other features
|
|||
* Automatic search indexing can now be disabled on a per-model basis via the ``search_auto_update`` attribute (Karl Hobley)
|
||||
* Improved diffing of StreamFields when comparing page revisions (Karl Hobley)
|
||||
* Highlight broken links to pages and missing documents in rich text (Brady Moe)
|
||||
* Preserve links when copy-pasting rich text content from Wagtail to other tools (Thibaud Colas)
|
||||
|
||||
|
||||
Bug fixes
|
||||
|
|
Ładowanie…
Reference in New Issue