Welcome Guest, Not a member yet? Register   Sign In
NicEdit in CI
#1

[eluser]Unknown[/eluser]
I'm trying to insert the NicEdit in my textareas.

I put the files nicEdit.js and nicEditorIcons.gif into the folder js/jscripts

In one of my views I wrote:

[removed][removed]
[removed]
bkLib.onDomLoaded(function() {
new nicEditor().panelInstance('area1');
});
[removed]
<textarea cols="50" id="area1"></textarea>

But I fail to see the editor ....

Please help me!

Thank you!
#2

[eluser]garrettheel[/eluser]
I assume you've called the JS and .gif file in the head section of the page?
#3

[eluser]gh0st[/eluser]
In the nicedit .JS file there is a `iconsPath` variable -- this must be the same as to where the nicEditorIcons.gif is on your system;

ie;
Code:
// nicEdit.js
iconsPath : '/assets/js/nicEditorIcons.gif',




Theme © iAndrew 2016 - Forum software by © MyBB