Commit graph

17 commits

Author SHA1 Message Date
Anton Khorev
8498d0d6a8 Switch to edit pane if rich text field validation fails
Allows the "Please fill out this field" message to be visible.
2024-08-14 16:43:57 +03:00
Anton Khorev
3ae313fd1d Set min preview height when switching away from edit tab
Previously it was set when switching to a preview tab. Now that won't work correctly because we have one extra tab.
2024-08-08 07:23:49 +03:00
Anton Khorev
a9fa756878 Switch away from help tab when help sidebar becomes visible 2024-08-08 07:23:49 +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
5e35448491 Use closest() instead of parents() when looking for richtext container 2024-08-08 06:07:42 +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
6048e588ac Don't set width of richtext preview 2024-06-07 18:00:09 +03:00
Tom Hughes
1f13321a60 Fix issues found by eslint 2019-04-01 22:03:39 +01:00
Tom Hughes
1596713871 Fix some JSHint complaints 2015-02-23 21:45:57 +00:00
Tom Hughes
a4b5485405 Compute size of rich text preview pane correctly 2013-01-24 14:29:27 +00:00
Tom Hughes
d76aa13ddd Use the jQuery data() function to access HTML 5 data attributes 2012-09-06 21:29:16 +01:00
Tom Hughes
7af04f8691 Move rich text support code into a separate file 2012-09-06 20:44:24 +01:00