angeloskath/Simple-WySiWyG-with-jQuery-and-ContentEditable — Issue #1: Manage images from creation options and styles from css
Author: angeloskath
Created: 2011-12-16 19:20:45+00:00
State: open

The images used for auto toolbar are specific ('imgs/bold.gif' and 'imgs/boldreversed,gif').

We should parse them automatically from creation options.

Either on object creation like

```javascript
wysiwyg = new WySiWyG({
textarea: '#sampetext',
imgs: {
bold: [ 'bold.gif', 'boldreversed.gif' ]
}
});
```

or on toolbar creation.

```javascript
wysiwyg.setToolbar({
toolbar: '#toolbar'
bold: [ 'bold.gif', 'boldreversed.gif' ]
});
```

**The same applies for the grippie that changes the editor's height by drag.**