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

7 commits

Author SHA1 Message Date
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
9e5ab1ebd9 By default, coercing to a string should produce a formatted output
Open to other ways of doing this, but didn’t want to require embedding
the trix-content class inside the actual HTML that Trix persists. So
this seemed like a reasonable alternative. Thoughts @javan or
@sstephenson?
2018-06-05 16:37:50 +02:00
David Heinemeier Hansson
a79fa9d223 Destroy rich text dependents 2018-05-29 16:12:28 +02:00
David Heinemeier Hansson
e63acf4513 Auto-save changes to rich text model 2018-05-28 17:43:21 +02:00
David Heinemeier Hansson
94a95db2f5 Lazy initialization of rich text model 2018-05-28 17:43:08 +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