Skip to content

Commit

Permalink
Merge pull request rails#49556 from mguan2020/my_new_branch
Browse files Browse the repository at this point in the history
Fixed formatting in Action Text documentation to make it more consistent. [ci skip]

(cherry picked from commit 8776e95)
  • Loading branch information
jonathanhefner committed Oct 11, 2023
1 parent c31e81c commit 2874def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/action_text_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ and because WYSIWYG HTML editors are enormous in scope, each
browser's implementation has its own set of bugs and quirks,
and JavaScript developers are left to resolve the inconsistencies.

Trix sidesteps these inconsistencies by treating contenteditable
Trix sidesteps these inconsistencies by treating `contenteditable`
as an I/O device: when input makes its way to the editor, Trix converts that input
into an editing operation on its internal document model, then re-renders
that document back into the editor. This gives Trix complete control over what
happens after every keystroke, and avoids the need to use execCommand at all.
happens after every keystroke, and avoids the need to use `execCommand` at all.

## Installation

Expand Down

0 comments on commit 2874def

Please sign in to comment.