Skip to content

Commit b04e51a

Browse files
committed
Merge branch 'v2' of github.com:froala/meteor-froala into v2
2 parents 6d0a947 + bd37ae3 commit b04e51a

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,26 @@ Check out the [Froala editor homepage](https://froala.com/wysiwyg-editor) for mo
1212
meteor add froala:editor
1313
```
1414
2.Create a froala-template in your main.html file.
15+
```
1516
<template name="froala">
1617
<div class="editor">Hello Froala</div>
1718
</template>
18-
19+
```
1920
3.Include the template in body of html.
21+
```
2022
<body>
2123
{{> froala}}
2224
</body>
23-
25+
```
2426
4.Run froala when template is rendered in main.js file.
27+
```
2528
Template.froala.rendered = function () {
26-
$('.editor').froalaEditor()
29+
$('.editor').froalaEditor({
30+
toolbarInline: true
31+
})
2732
};
33+
```
34+
Check out the [Froala editor documentation](https://froala.com/wysiwyg-editor/v2.0/docs/) for more details to add `options, events and methods`.
2835

2936

3037

0 commit comments

Comments
 (0)