https://github.com/patternslib/pat-editor
An HTML WYSIWYG editor pattern for Patternslib
https://github.com/patternslib/pat-editor
Last synced: 4 months ago
JSON representation
An HTML WYSIWYG editor pattern for Patternslib
- Host: GitHub
- URL: https://github.com/patternslib/pat-editor
- Owner: Patternslib
- License: bsd-2-clause
- Created: 2015-03-03T17:00:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-31T16:13:08.000Z (about 11 years ago)
- Last Synced: 2025-07-06T18:11:27.063Z (12 months ago)
- Language: HTML
- Size: 156 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#pat-editor
A Patternslib pattern which adds a WYSIWYG HTML editor, based on [Aloha Editor](http://www.alohaeditor.org)
##demo
To view a demo of how this pattern works, clone the repository:
git clone https://github.com/Patternslib/pat-editor.git
Run the Makefile:
make
And then in your browser open: http://localhost:4001
## Documentation
Property | Type | Default Value | Description
----------------|-----------|-------------------------------------------|---------------------------------------------------
aloha-settings | JSON | { } | Allows you to override any Aloha editor setting
hide-sidebar | Boolean | true | Should the [sidebar](http://old.alohaeditor.org/guides/sidebar.html) be hidden?
pin-toolbar | Boolean | false | Should the toolbar be sticky, or should it float?
load-plugins | String | "common/ui, common/format, common/link" | The specified plugins will be loaded.
show-ribbon | Boolean | true | Show or hide the ribbon interface.