{"issue":{"milestone":null,"user":{"id":1242043,"login":"angeloskath","url":"https://api.github.com/users/angeloskath","avatar_url":"https://secure.gravatar.com/avatar/0805b6bfaa03bcad779b83354229a306?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0805b6bfaa03bcad779b83354229a306"},"title":"Manage images from creation options and styles from css","created_at":"2011-12-16T19:20:45Z","updated_at":"2011-12-16T19:20:45Z","labels":[],"state":"open","id":2583309,"html_url":"https://github.com/angeloskath/Simple-WySiWyG-with-jQuery-and-ContentEditable/issues/1","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"The images used for auto toolbar are specific ('imgs/bold.gif' and 'imgs/boldreversed,gif').\r\n\r\nWe should parse them automatically from creation options.\r\n\r\nEither on object creation like\r\n\r\n```javascript\r\nwysiwyg = new WySiWyG({ \r\n    textarea: '#sampetext',  \r\n    imgs: {\r\n        bold: [ 'bold.gif', 'boldreversed.gif' ]\r\n    }\r\n});\r\n```\r\n\r\n\r\nor on toolbar creation.\r\n\r\n```javascript\r\nwysiwyg.setToolbar({\r\n    toolbar: '#toolbar'\r\n    bold: [ 'bold.gif', 'boldreversed.gif' ]\r\n});\r\n```\r\n\r\n**The same applies for the grippie that changes the editor's height by drag.**","number":1,"url":"https://api.github.com/repos/angeloskath/Simple-WySiWyG-with-jQuery-and-ContentEditable/issues/1","comments":0,"assignee":null},"action":"opened"}