1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

25 commits

Author SHA1 Message Date
David Heinemeier Hansson
531d7dd584 Never mind on allowing blank
More hassle than its worth. Just account for the fact that rich text can be blank instead, but continue to create the record.
2018-09-12 15:51:06 -07:00
David Heinemeier Hansson
3431c0b3ee Ensure blank rich text records aren't saved or required 2018-09-12 10:58:23 -07:00
George Claghorn
0fd8ba6fff Prefer the ASt API 2018-07-31 20:49:35 -04:00
David Heinemeier Hansson
206c04f716 Move the escaping choice to the layout 2018-06-07 14:41:17 +02:00
David Heinemeier Hansson
d5623dc634 Provide to_html rendering within a layout and use that as the to_s default
I like the idea of thinking about the rendering as happening within a
layout. Since that’s basically what this wrapper is. Thoughts @javan?
2018-06-07 14:38:41 +02:00
David Heinemeier Hansson
21aa1d4b55 Edit the body of the RichText value
Needed now that we have that intermediary object.
2018-06-05 16:31:07 +02:00
David Heinemeier Hansson
33c8f20c33 Provide default styling by default 2018-06-05 16:21:04 +02:00
David Heinemeier Hansson
e040933867 We are leveling up the text_area, not the text_field, so match names 2018-06-05 16:20:55 +02:00
David Heinemeier Hansson
3a515bb308 Implicit transformation to html-safe string ready for display 2018-05-28 18:08:16 +02:00
David Heinemeier Hansson
0c1d78b128 Use the correct API for blob assignment 2018-05-28 17:44:34 +02:00
David Heinemeier Hansson
751d5edc70 Ease the rendering of a rich text attribute 2018-05-28 17:44:19 +02:00
David Heinemeier Hansson
69daf8f21d Link rich text to owning record 2018-05-28 17:44:02 +02:00
David Heinemeier Hansson
ff5ae47a4b Back by fully qualified table name 2018-05-28 17:43:40 +02:00
David Heinemeier Hansson
7daa8cc63e WIP 2018-04-13 16:47:33 -07:00
David Heinemeier Hansson
f1d74871e7 Rename from Active Text to Action Text
This is more like Action View than Active Model.
2018-04-13 16:23:04 -07:00
David Heinemeier Hansson
491bee6e64 Use rich_text instead of active_text
Just like we use has_many_attachments instead of active_storage_attachements.
2018-04-13 14:10:18 -07:00
Javan Makhmali
6054f044c1 Remove unused model 2018-02-14 15:11:01 -05:00
Javan Makhmali
55e2df15cd Extract AttachmentUpload 2018-02-14 14:35:34 -05:00
Javan Makhmali
ba71c73836 Move hard coded URLs to computed data attributes 2018-02-14 14:11:54 -05:00
Javan Makhmali
28525b4cca Build out basic blob template to match the editor's 2018-02-14 09:19:12 -05:00
Javan Makhmali
2ae84d647f Initial Attachment rendering support 2018-02-13 15:07:29 -05:00
Javan Makhmali
b79bf62196 Add sgid support 2018-02-12 18:21:49 -05:00
Javan Makhmali
986d6a6da4 Add initial ActiveStorage integration 2018-02-12 15:50:42 -05:00
Javan Makhmali
63add5acc4 Extract BC3's rich_text_field helper 2018-02-12 10:16:49 -05:00
Sam Stephenson
e22ba227a6 Initial commit 2018-02-07 12:43:36 -06:00