Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 393 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 393 Bytes

Volt::Ace

A quick ace editor example

Installation

Add this line to your application's Gemfile:

gem 'volt-ace', path: 'path/to/local/copy/of/repo

Next, include this as a dependency in any components you want to use the editor in

component 'ace'

Finally, use the <:ace:editor /> tag like so:

<:ace:editor value="{page._code}" mode="ace/mode/javascript" />