Commit graph

16 commits

Author SHA1 Message Date
Anton Khorev
a05692a3f6 Restore loading spinner in richtext previews 2024-11-08 15:04:38 +03:00
Anton Khorev
8401cd0d14 Move help card between pane/sidebar depending on sidebar visibility 2024-08-08 07:23:49 +03:00
Anton Khorev
fb0f955651 Add richtext help tab 2024-08-08 07:23:49 +03:00
Anton Khorev
1adb5caf99 Remove unused richtext dom ids 2024-08-08 05:56:56 +03:00
Anton Khorev
8103eb18ab Remove .richtext_preview css class 2024-08-08 05:56:06 +03:00
Anton Khorev
6ebf98255c Remove .richtext_content css class 2024-08-08 03:20:57 +03:00
Anton Khorev
69122afe78 Remove .richtext_dopreview css class 2024-08-08 03:16:50 +03:00
Anton Khorev
259437728e Switch between richtext edit/preview using Bootstrap tab panes 2024-08-03 04:52:41 +03:00
Anton Khorev
ef5352332e Convert richtext edit/preview buttons into tabs 2024-08-03 04:52:13 +03:00
Anton Khorev
2ba7eab67d Change richtext edit/preview buttons type to non-submit 2024-08-03 04:52:13 +03:00
Anton Khorev
e26dcf7a72 Replace bg-light with bg-body-tertiary 2024-04-11 03:34:27 +03:00
Andy Allan
2080696fe6 Bootstrap 5: Remove use of form-row class
This has been replaced by simple `row` class in v5. We can also use the
gx-N classes here, which tighten up the horizontal gutter sizes for
space-constrained forms.
2022-07-20 14:41:41 +01:00
Andy Allan
78bf2993e4 Refactor richtext fields to use a custom bootstrap_form input.
This allows us to use form_group_builder and get all the label and
help text handling in line with other bootstrap_form inputs.
2021-01-13 14:05:39 +00:00
Andy Allan
ed07e17ca2 Align the richtext help text height with the height of the textarea.
This works by setting the card to the same height as its containing flexbox. For perfect alignment, we need to make sure the extra margin at the bottom of the text-area stops applying when they are shown side by side.
2021-01-13 10:12:15 +00:00
Tobias Jordans
b470e01f84 Break long URLs where richtext is used.
For example on the blog post show page.

This uses https://getbootstrap.com/docs/4.4/utilities/text/#word-break to break long URLs on the blog post show view.
2020-12-27 22:11:36 +01:00
Andy Allan
547459314b Refactor diary entry forms to use a custom form builder 2020-12-24 13:32:41 +00:00