Questions tagged [nicedit]

NicEdit is an open source inline WYSIWYG HTML editor

NicEdit is a lightweight, cross platform, inline Content Editor that allows easy editing of a website's content on the fly, from within your browser.


Documentation :

228 questions
13
votes
3 answers

NicEdit Error in Chrome

I'm using the NicEdit WYSIWYG plugin on my site. It's come to my attention that when NicEdit is instantiated in Chrome, the following Javascript error is generated: Uncaught TypeError: Object has no method 'createRange' This doesn't stop the…
Trev
  • 157
  • 1
  • 8
9
votes
7 answers

How do I get the contents of a nicEdit form when submitting trough ajax?

So what I want to do is to submit a form using jQuery's AJAX function. And the route I choose to go was to use $('#form').serialize(); and then pass that as a GET request. It works out all dandy and fine and dandy until I add the editor, NicEdit,…
Rovanion
  • 4,382
  • 3
  • 29
  • 49
9
votes
1 answer

Problems with nicedit and jquery dialog modal - Add link button form is not selectable

I have some troubles using nicedit with jquery dialogs. The problem is this: When I create a jquery dialog (modal), on open event init wysiwyg editor (nicedit) -> everything is ok. But, if I click on the add link button, I can't click on the inputs…
elbbto
  • 91
  • 4
8
votes
2 answers

Javascript NiceEdit Configuration

I'm trying to use nicedit Currently I'm using this to add nicedit to all text areas:
stringo0
  • 2,720
  • 7
  • 38
  • 52
7
votes
2 answers

Content in textareas set to use nicEdit not updating to reflect user changes

Accept my apologize because of my low English level I use to load a page with jQuery and I use nicEdit in that page and I post datas to another page with jQuery. But it just send empty value instead of what user wrote in editor (if i define a…
Ahmad Badpey
  • 6,348
  • 16
  • 93
  • 159
7
votes
8 answers

NicEdit in Hidden Div is resized small

I am trying to use the NicEdit editor for a textarea hidden in a div. When the user clicks a button, the targeted textarea's parent div is revealed. The width of the textarea is set to 100% of the parent div. The problem is that the parent div is…
Thomas
  • 5,030
  • 20
  • 67
  • 100
6
votes
3 answers

Limit the number of characters in a WYSIWYG Editor (NicEdit)

I have this jQuery code: var char = 60; $("#counter").append("You have " + char + " char."); $("#StatusEntry").keyup(function () { if ($(this).val().length > char) { $(this).val($(this).val().substr(0,…
Andrea Turri
  • 6,480
  • 7
  • 37
  • 63
6
votes
2 answers

Set value to nicedit - which uses textarea as an instance

Here is the link, your webbrowser will navigate to: http://thocong.net/dang-tin.html I'm developing an app, which will auto post news. When setting value to controls on webpage, all controls are ok, but i cannot to set value to editor (NicEdit).…
chienvh
  • 71
  • 1
  • 5
6
votes
7 answers

how to set nicedit uneditable

i'm using nicedit js which is is a WYSIWYG editor in my textarea to view html doc, but it still editable, how to set this nicedit to readonly mode, i try to search from its doc but unable to find it, do any one have experience using nicedit, thanks…
Apache
  • 1,796
  • 9
  • 50
  • 72
5
votes
2 answers

nicEditor link problems in Chrome and Firefox

I'm using nicEdit with the "link" button. And I have different problems with Chrome and Firefox when: I don't select any text and introduce a link and a title, then click Submit Query. In Chrome, a link with the correct URL appears but with the…
Santiago
  • 261
  • 3
  • 7
5
votes
7 answers

Insert HTML in NicEdit WYSIWYG

How can I insert text/code at the cursors place in a div created by NicEdit? I've tried to read the documentation and create my own plugin, but I want it to work without the tool bar (Modal Window)
ThoKra
  • 2,959
  • 2
  • 27
  • 38
5
votes
1 answer

NicEdit data not in POST

Im sure im missing something really simple here and i have searched and cant seem to find an answer. With this simple form. how can i get the content from the NicEdit box to my HTTP POST. All i get is the origional textarea value not the edited…
Steve Taylor
  • 301
  • 3
  • 14
4
votes
1 answer

Nicedit Pasting Formatting In Chrome

I've just finished implementing Nicedit into my website, and I've noticed something particularly annoying with the editor (surprise!). Whenever I copy text from a webpage and paste it into Nicedit, even from my own site, Nicedit will "remember" all…
jakobpb
  • 53
  • 1
  • 7
4
votes
1 answer

nicEdit textarea's default value

Here is a code
Nirali Joshi
  • 1,968
  • 6
  • 30
  • 50
4
votes
4 answers

nicEdit : Add key(press|up|down) events to editor

I'm using nicEdit to have a RTF textarea and I need to add a onkeypress, onkeyup or onkeydown event. I create my instance like this: var emailRtf = new nicEditor({ iconsPath : 'nicEdit/nicEditorIcons.gif', buttonList :…
Simon Arsenault
  • 1,777
  • 17
  • 35
1
2 3
15 16