rails/actiontext
Ryuta Kamizono 1745e905a3 Allow changing text and blob size without giving the limit option
In MySQL, the text column size is 65,535 bytes by default (1 GiB in
PostgreSQL). It is sometimes too short when people want to use a text
column, so they sometimes change the text size to mediumtext (16 MiB) or
longtext (4 GiB) by giving the `limit` option.

Unlike MySQL, PostgreSQL doesn't allow the `limit` option for a text
column (raises ERROR: type modifier is not allowed for type "text").
So `limit: 4294967295` (longtext) couldn't be used in Action Text.

I've allowed changing text and blob size without giving the `limit`
option, it prevents that migration failure on PostgreSQL.
2019-01-29 06:49:32 +09:00
..
app Fix error saving Action Text content containing non-blob attachables 2019-01-25 16:57:36 -05:00
bin Import Action Text 2019-01-04 22:22:49 -05:00
db/migrate Allow changing text and blob size without giving the limit option 2019-01-29 06:49:32 +09:00
lib Preparing for 6.0.0.beta1 release 2019-01-18 15:42:12 -05:00
test Allow changing text and blob size without giving the limit option 2019-01-29 06:49:32 +09:00
.gitignore Import Action Text 2019-01-04 22:22:49 -05:00
actiontext.gemspec Action Text: bundle package.json in built gem. 2019-01-18 00:11:18 +01:00
CHANGELOG.md Preparing for 6.0.0.beta1 release 2019-01-18 15:42:12 -05:00
MIT-LICENSE Import Action Text 2019-01-04 22:22:49 -05:00
package.json Preparing for 6.0.0.beta1 release 2019-01-18 15:42:12 -05:00
Rakefile add new frameworks to tasks/release.rb 2019-01-08 10:36:33 -08:00
README.md Add Action Text to guides [ci skip] 2019-01-05 13:30:37 +02:00

Action Text

Action Text brings rich text content and editing to Rails. It includes the Trix editor that handles everything from formatting to links to quotes to lists to embedded images and galleries. The rich text content generated by the Trix editor is saved in its own RichText model that's associated with any existing Active Record model in the application. Any embedded images (or other attachments) are automatically stored using Active Storage and associated with the included RichText model.

You can read more about Action Text in the Action Text Overview guide.

License

Action Text is released under the MIT License.