jWysiwyg is minimalistic WYSIWYG (What You See Is What You Get) editor built as jQuery plugin.
Questions tagged [jwysiwyg]
46 questions
6
votes
0 answers
knockout binding handler for jwysiwyg textarea
So I noticed knockout js doesn't play well with jQuery jwysiwyg plugin.
After reading this blog post: http://www.knockmeout.net/2011/07/another-look-at-custom-bindings-for.html
And this SO answer: How to detect a change with jQuery to the contents…

Remco Ros
- 1,467
- 15
- 31
4
votes
1 answer
show blink text cursor on html document
I am writing my own WYSIWYG html editor based on jquery.
In order to achieve this goal, I am exploring jWYSIWYG. I've figured out that I need usual html container(e.g div) in order to show formatted text.And I need to bind all events(keydown,…

takayoshi
- 2,789
- 5
- 36
- 56
3
votes
1 answer
handling events with jWYSIWYG online editor
I'm trying to enable a button when the text in the jWYSIWYG textarea is changed. As far as i know, the jWYSIWYG when invoked, removes the textarea and places an iframe in its place, so $("#my-textarea-id") selector wont return any object. These are…

Andreu Ramos
- 2,858
- 2
- 25
- 36
3
votes
2 answers
Add html to WYSIWYG from outside the editor (jQuery, ClEditor)
I'm trying to add some html markup to the WYSIWYG CLEditor from outside of the editor itself using jQuery.
So far I have...
$('.add-image').click(
function()
{
theurl = $(this).text();
theimage = '

Martin Hunt
- 1,135
- 2
- 14
- 23
3
votes
1 answer
Adding custom tag buttons to jwysiwyg?
How can I add a button to jwysiwyg that will add an HTML tag to the selected text? I tried this, based on the documentation:
$('#wysiwyg').wysiwyg({
controls: {
tt: { visible: true, tags: ['tt'], css: { class: 'tt', className: 'tt' } }
…

webmutant
- 76
- 5
3
votes
3 answers
WYSIWYG editor security question (preventing malicious input)
I'm using jWYSIWYG in a form I'm creating that posts to a database and was wondering how you can prevent a malicious user from trying to inject code in the frame?
Doesn't the editor need brackets (which I'd normally strip during the post process) in…

Walker
- 128,495
- 27
- 68
- 94
3
votes
4 answers
Is jWYSIWYG editor too buggy for production use?
After reading the comments on this site:
http://www.webresourcesdepot.com/jwysiwyg-jquery-inline-content-editor-plugin/
There is a bit of consensus that jWYSIWYG editor is too buggy (especially in the last few recent comments). Has anyone had…

alex
- 479,566
- 201
- 878
- 984
2
votes
1 answer
jWYSIWYG set font color button
I am using jQuery WYSIWYG (https://github.com/akzhan/jwysiwyg)
I realize that jwysiwyg now includes a color pallete that allows you to color text. But, what I want to do, is to have a custom button OUTSIDE of the editor that applies the color.
Is…

Nic Hubbard
- 41,587
- 63
- 251
- 412
2
votes
3 answers
How to detect a change with jQuery to the contents of a textarea that's using jWYSIWYG plugin?
I'm using the jwysiwyg plugin on textareas in my form (jwysiwyg: https://github.com/akzhan/jwysiwyg )
I want to detect changes to any of the textareas that are in my form.
Normally, with a standard non-wysiwyg textarea, I do:…

k00k
- 17,314
- 13
- 59
- 86
2
votes
1 answer
jwysiwyg remove formatting for copy and pasting
I've got an instance of jWysiwyg running on a site I'm building for a local sports club. The issue I've got is that whenever you copy and paste something into the editor, it copies over the formatting from wherever you've copied it.
This means that…

Dormouse
- 5,130
- 1
- 26
- 42
2
votes
1 answer
jwysiwyg Jquery
im using jwysiwyg and i dont know how to clear the value of the frame to where the user will input the text..
im doing it like this..
$('#wysiwyg').val("");
but it is not working..

Vincent Dagpin
- 3,581
- 13
- 55
- 85
2
votes
1 answer
Knockout custom binding reseting cursor in WYSIWYG
I have a situation involving KnockoutJS and the jwysiwyg plugin (https://github.com/jwysiwyg/jwysiwyg ). I'm using the custom binding seen below. However, whenever the user updates the text onto a second line, updating the content via the binding…

derickt
- 57
- 6
1
vote
0 answers
jWYSIWYG in jQuery UI dialog
It seems there's an issue with the editor when you try to use it inside a dialog.
I've tested my application and in the normal page (main html) everything works well. When I put my AJAX result in the main html, I still have the editor, even in the…

koenHuybrechts
- 868
- 4
- 15
- 28
1
vote
2 answers
Set default font-family in jWYSIWYG
I set the font-family in the jquery.jwysiwyg.js (line-# 497 where < body > is defined) and added a CSS …
$('#wysiwyg').wysiwyg({css : { fontFamily: 'Arial, Tahoma', fontSize : '12px', color : '#333333'}});
The textarea shows Arial as font-family…

suntrop
- 775
- 3
- 10
- 24
1
vote
1 answer
Inject something in jWYSIWYG at cursor pointer?
I want to inject the dropdown selected value in jWYSIWYG at cursor pointer.I want to do is like that: