[Solved] Summernote Text Editor With Codeigniter |
I use summer note text editor with codeigniter. I am able to get summer note text it working with one text area OK. But when I create a new row by clicking on my button I would like summer note to show at the moment it only displays default bootstrap text area.
Each textarea creates its own id when click on button in <textarea id="code0"></textarea> <textarea id="code1"></textarea> <textarea id="code2"></textarea> and so on each time create new row. Any one know best way so that I could add the script to my addContent function Quote:<script type="text/javascript"> Quote:var content_row = 1; Live Demo http://codepen.io/riwakawebsitedesigns/pen/yNJYYq Live Demo Full View http://codepen.io/riwakawebsitedesigns/full/yNJYYq/
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
Hi,
you must call summernote function after append content: Code: var content_row = 1;
(05-16-2015, 05:02 AM)nicojmb Wrote: Hi, Thank you so much for advice.
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Welcome Guest, Not a member yet? Register Sign In |