0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

8257 Commits

Author SHA1 Message Date
Thibaud Colas
1614cc9a07 Add font-smoothing mixin for Wagtail, using it on tooltips 2018-01-17 22:17:14 +02:00
Thibaud Colas
b34eb8dcf3 Adjust Draftail toolbar border-radius 2018-01-17 22:17:14 +02:00
Thibaud Colas
3f7583c9c6 Update Draftail to latest 2018-01-17 22:17:14 +02:00
Thibaud Colas
5adcd87617 Improve support for link text insertion in link/document sources 2018-01-17 22:16:35 +02:00
Thibaud Colas
26e82d3c01 Fix link entity conversion tests 2018-01-17 22:16:35 +02:00
Thibaud Colas
9a6ad3b372 Remove unused imports 2018-01-17 22:16:35 +02:00
Thibaud Colas
0fd3b1872f Fix Draftail placeholder text rendering 2018-01-17 22:16:35 +02:00
Thibaud Colas
a03521f575 Revisit page edit object definition 2018-01-17 22:16:35 +02:00
Thibaud Colas
bc2a4c3560 Add length constraints to tooltip label 2018-01-17 22:16:35 +02:00
Thibaud Colas
ded04cf6b0 Remove extra scrolling context to restore Draftail sticky toolbar 2018-01-17 22:16:35 +02:00
Thibaud Colas
33b12fc879 Fix tests relying on outdated API 2018-01-17 22:16:35 +02:00
Thibaud Colas
68f508acd9 Update Draftail link data to support copy-pasted links 2018-01-17 22:16:35 +02:00
Thibaud Colas
24b7c437da Fix DocumentSource keeping too much data 2018-01-17 22:16:35 +02:00
Thibaud Colas
66010bffe3 Add filters for Draftail image entities 2018-01-17 22:16:35 +02:00
Thibaud Colas
cb9b5c0f17 Remove Draftail Image imageFormats, and related ImageFeature 2018-01-17 22:16:35 +02:00
Thibaud Colas
e5856c6f34 Clean up Draftail image enitity definition, use the same attrs as Hallo 2018-01-17 22:16:35 +02:00
Thibaud Colas
bafc042364 Fix ModalSource for latest Draftail API 2018-01-17 22:16:35 +02:00
Thibaud Colas
4803ad1c43 Add IE11 opt-out of rich text pasting, and documentation notes 2018-01-17 22:16:35 +02:00
Thibaud Colas
9c5c116b04 Update to Draftail 0.11.0 2018-01-17 22:16:35 +02:00
Thibaud Colas
4200b2e257 Tweak Draftail controls to align better with Wagtail 2018-01-17 22:15:35 +02:00
Thibaud Colas
cf79badee7 Fix style leak of Wagtail panel icons in h2 tag 2018-01-17 22:15:35 +02:00
Thibaud Colas
9598e691f7 Align Draftail rich text typography with that of Hallo 2018-01-17 22:15:35 +02:00
Thibaud Colas
947b9dab6e Adjust Draftail editor styles to match that of Hallo (spacing, background) 2018-01-17 22:15:35 +02:00
Thibaud Colas
4f906d09c9 Refactor Hallo styles to separate files 2018-01-17 22:15:35 +02:00
Thibaud Colas
8a5518aa5c Refactor Hallo CSS to use simpler selectors 2018-01-17 22:15:35 +02:00
Thibaud Colas
d674f7e656 Rename Hallo panel stylesheet to hallo.css 2018-01-17 22:01:40 +02:00
Thibaud Colas
194161ec59 Only load Hallo CSS if Hallo is in use 2018-01-17 22:01:40 +02:00
Thibaud Colas
9521f21359 Update all Hallo code to use .halloeditor class instead of .richtext 2018-01-17 22:01:40 +02:00
Thibaud Colas
72d06072d3 Update font family to serif stack for Draftail 2018-01-17 22:01:40 +02:00
Loic Teixeira
7e0882f751 Use snakecase for draftjs_exporter entities
Respect PEP8 convention for function names
2018-01-17 22:01:40 +02:00
Loic Teixeira
2fe31ddd84 Update to latest draftjs_exporter
See draftjs_exporter v2.0.0 release notes: https://github.com/springload/draftjs_exporter/releases/tag/v2.0.0
2018-01-17 22:01:40 +02:00
Thibaud Colas
73ed313a9f Update Link and Document decorators to Draftail 0.10 API 2018-01-17 22:01:40 +02:00
Thibaud Colas
306bd8dd03 Add safe maxListNesting default of 4 2018-01-17 22:01:40 +02:00
Thibaud Colas
26419e3731 Enable spellCheck in Draftail by default 2018-01-17 22:01:40 +02:00
Thibaud Colas
d8489574d3 Fix Draftail icon wrapping happening even if there is no icon 2018-01-17 22:01:40 +02:00
Thibaud Colas
8ab8592b40 Add custom Draftail blocks for images and embeds 2018-01-17 22:01:40 +02:00
Thibaud Colas
fa4af4b8cc Update Draftail styles to the dark theme 2018-01-17 22:01:40 +02:00
Thibaud Colas
382d59d1f3 Update Draftail integration to latest API 2018-01-17 22:01:40 +02:00
Thibaud Colas
a741f3b7a6 Update to latest Draftail 2018-01-17 22:01:40 +02:00
Matt Westcott
4fe6104098 No need to explicitly pass None to EditorHTMLConverter when using default features 2018-01-17 21:59:32 +02:00
Matt Westcott
96eab7937c Ensure that draftail contentstate is never empty 2018-01-17 21:59:32 +02:00
Matt Westcott
8280c3e56e Make Draftail the default editor 2018-01-17 21:59:32 +02:00
Matt Westcott
8551ee9c2d Hide the Draftail editor's underlying input field 2018-01-17 21:59:32 +02:00
Matt Westcott
a25760562f Switch draftjs_exporter to string backend 2018-01-17 21:59:32 +02:00
Matt Westcott
e5de74d24b Populate embed data fields in contentstate 2018-01-17 21:59:32 +02:00
Matt Westcott
14a23af0d0 Update embed chooser to return json embed data as an extra parameter 2018-01-17 21:59:32 +02:00
Matt Westcott
ce0aa1f716 Fix conversion between db-format attributes and contentState data for images
Draftail expects 'alt' and 'format' to become 'altText' and 'alignment'.

Also ensure that the image chooser continues to the alt-text/format selection stage.
2018-01-17 21:59:32 +02:00
Matt Westcott
b0f8cd12b2 Handle image_formats parameter on ImageFeature 2018-01-17 21:59:32 +02:00
Thibaud Colas
f647c9f270 Fix JS error in Draftail sources because of script execution order 2018-01-17 21:59:32 +02:00
Matt Westcott
0f10d42e92 draftail uses 'alignment' property on images instead of 'format' 2018-01-17 21:59:31 +02:00