aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_text
Commit message (Collapse)AuthorAgeFilesLines
* Fix minor typo in code commentven2018-10-061-1/+1
|
* Fix has_rich_text with `:body` keywords error. (#16)Jason Lee2018-10-051-1/+1
|
* Delegate string methods to contentJavan Makhmali2018-10-041-1/+1
| | | | Closes #11
* Install Active Storage extension lazilyGeorge Claghorn2018-10-031-3/+1
| | | | Avoid eagerly loading Active Record during app boot. Reinstall the extension when ActiveStorage::Blob is reloaded in dev.
* Move attachment rendering to a helperJavan Makhmali2018-10-032-18/+3
| | | | Fixes #5
* WIP: Image gallery supportJavan Makhmali2018-10-032-7/+120
|
* Add support for "presentation" gallery attributeJavan Makhmali2018-10-032-4/+5
|
* Fill in Attachable rich text attributesJavan Makhmali2018-10-031-1/+17
|
* 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.