aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_text
Commit message (Collapse)AuthorAgeFilesLines
* Fix <h1> plain text conversionJavan Makhmali2018-10-021-1/+1
| | | | Fixes #4
* active → actionJavan Makhmali2018-10-021-1/+1
|
* Never mind on allowing blankDavid Heinemeier Hansson2018-09-121-12/+1
| | | | More hassle than its worth. Just account for the fact that rich text can be blank instead, but continue to create the record.
* Ensure blank rich text records aren't saved or requiredDavid Heinemeier Hansson2018-09-122-2/+15
|
* #render already provides something html_safeDavid Heinemeier Hansson2018-06-071-1/+1
|
* Move the escaping choice to the layoutDavid Heinemeier Hansson2018-06-071-1/+1
|
* Some basic documentation for the has_rich_text macroDavid Heinemeier Hansson2018-06-071-0/+18
|
* Add scope to preload embeds as wellDavid Heinemeier Hansson2018-06-071-0/+1
|
* Provide to_html rendering within a layout and use that as the to_s defaultDavid Heinemeier Hansson2018-06-071-1/+5
| | | | | I like the idea of thinking about the rendering as happening within a layout. Since that’s basically what this wrapper is. Thoughts @javan?
* By default, coercing to a string should produce a formatted outputDavid Heinemeier Hansson2018-06-051-1/+1
| | | | | | | 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?
* Destroy rich text dependentsDavid Heinemeier Hansson2018-05-291-1/+1
|
* Auto-save changes to rich text modelDavid Heinemeier Hansson2018-05-281-12/+2
|
* Lazy initialization of rich text modelDavid Heinemeier Hansson2018-05-281-1/+1
|
* WIPDavid Heinemeier Hansson2018-04-131-7/+24
|
* Rename from Active Text to Action TextDavid Heinemeier Hansson2018-04-1317-0/+744
This is more like Action View than Active Model.