Skip to content

Commit

Permalink
Merge branch 'v2' of github.com:froala/meteor-froala into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
kapil2704 committed Apr 23, 2020
2 parents 6d0a947 + bd37ae3 commit b04e51a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,26 @@ Check out the [Froala editor homepage](https://froala.com/wysiwyg-editor) for mo
meteor add froala:editor
```
2.Create a froala-template in your main.html file.
```
<template name="froala">
<div class="editor">Hello Froala</div>
</template>

```
3.Include the template in body of html.
```
<body>
{{> froala}}
</body>

```
4.Run froala when template is rendered in main.js file.
```
Template.froala.rendered = function () {
$('.editor').froalaEditor()
$('.editor').froalaEditor({
toolbarInline: true
})
};
```
Check out the [Froala editor documentation](https://froala.com/wysiwyg-editor/v2.0/docs/) for more details to add `options, events and methods`.



Expand Down

0 comments on commit b04e51a

Please sign in to comment.