<NME> README.md
<BEF> # MaterialNote v2.0.5

WYSIWYG editor for the web, based on materialnote.js and materializeCss.
Version 2 is currently in beta...



## Editor Api

MaterialNote is based on summernote.js, so the API is still the same.
Please visit [summernote.js api guide](http://summernote.org/deep-dive/) to deep dive.


## Settings additions


Other than the obvious changes to the UI to meet material style, there are some differences and improvements in materialNote;

- improved image popover to be shown always in the editor area


## API additions
- `otherStaticBarClass` [String]: if your app already have a fixed positioned topBar, you will need to add here its class to let materialNote able to calculate the right offset for the editor's toolbar.


## Editor colors

If you wish to change any of the editor color, you can quickly achieve the desired result by editing file **src/sass/variables.scss**, which defines all colours used by the editor as sass variables.

After making desired changes, just run `grunt build` to create a new dist in the **dist** folder.


## Multi instances

If you put more than one editor in the same page, some parts such as dropdowns will not work properly (since they use ids) unless you pass a unique `posIndex` parameter to each instance:

```
$.each($('.materialnote'), function(index, node) {
    $(node).materialnote({
        height: 300,
        posIndex: index
    });
});
```


## Contribute

Some lang strings have been added in materialNote other than the ones supplied with summernote.js; by default only english and italian lang files are kept up to date in this repo; if you can help by adding missing strings for your language, please submit a pull request (thank you);

Pull requests are welcome anyway...

<MSG> updating readme

<DFF> @@ -16,7 +16,8 @@ Please visit [materialnote.js api guide](http://materialnote.org/deep-dive/) to
 
 Other than the obvious changes to the UI to meet material style, there are some differences and improvements in materialNote;
 
-- improved image popover to be shown always in the editor area
+- edited image popover to be shown always in the editor area
+- options have been added to image and table dropdowns to handle materialize's styles for those items
 
 
 ## API additions

updating readme