bn-wysiwyg
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "bn-wysiwyg", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"author": "Jan Hommes", | ||
@@ -5,0 +5,0 @@ "description": "This project allows to add a What You See Is What You Get editor to any angular application.", |
# bn-wysiwyg | ||
This project allows to add a What You See Is What You Get editor to any angular application. | ||
This [Blognode](https://www.blogno.de) project allows to add a What You See Is What You Get editor to any angular application. | ||
@@ -22,8 +22,11 @@ ## Installation | ||
<bn-wysiwyg></bn-wysiwyg> | ||
``` | ||
## Configuration | ||
The configuration is based on attributes and tags you can add to your project to change the behavior. | ||
### Non inline browser | ||
By default the Wysiwyg editor is an inline editor. If you like to use an editor panel instead you need to | ||
disable the inline mode. Afterwards you can place the editor component anywhere on the page. | ||
``` | ||
```html | ||
<bn-wysiwyg [inline]="false"></bn-wysiwyg> | ||
@@ -34,5 +37,6 @@ <!-- anywhere else --> | ||
### Asigned editor panel | ||
The editor panel is assigned to all `<bn-wysiwyg>` on the page. To assign it to a specific one, you need to assign | ||
it via the `for` attribute. It accepts any valid query selector. | ||
``` | ||
```html | ||
<bn-wysiwyg class="example" [inline]="false"></bn-wysiwyg> | ||
@@ -39,0 +43,0 @@ <!-- anywhere else --> |
export * from './bnwysiwyg.module' | ||
export * from './component/' | ||
9021077
83529
45