Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: missing doc for abeEditor variable
- Loading branch information
nicolaslabbe
committed
Nov 28, 2016
1 parent
1f9172b
commit 1a1a175
Showing
2 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Abe handlebars Variable | ||
|
||
> Abe admin is rendered with handlebar engine, global variables are added inside template rendering | ||
# Editor | ||
|
||
When on the admin edit view `abeEditor` is set to `true` otherwise set to `false` | ||
|
||
```html | ||
{{#if abeEditor}} | ||
Html rendered inside post when user edit the post | ||
{{else}} | ||
Html rendered when user "publish" the post (final output) | ||
{{/if}} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters