Questions tagged [jhtmlarea]

A simple, light weight, extensible WYSIWYG HTML Editor built on top of jQuery. This component allows you to easily display a WYSIWYG HTML Editor in place of any TextArea DOM Elements on the page.

A simple, light weight, extensible WYSIWYG HTML Editor built on top of jQuery. This component allows you to easily display a WYSIWYG HTML Editor in place of any TextArea DOM Elements on the page.

Project site: http://jhtmlarea.codeplex.com

enter image description here

53 questions
1
vote
1 answer

How to add a bootstrap class to JHtml in Joomla

I am using following piece of code to display an image which I am fetching from gravatar.com, so I want to use a bootstrap CSS class to make it more attractive. As soon as I add the style rather than showing the image it shows me the link to the…
1
vote
1 answer

jQuery jHTMLArea - How to Allow Only Certain HTML Tags?

Is this possible to limit the HTML only to Bold, Italic, Underline and Breaks in jHTMLArea plugin editor? I'm mostly interested in stripping P tags and using two breaks instead. What I have done in the mean time is: $.fn.stripPTags = function(_str)…
Sam3k
  • 960
  • 1
  • 11
  • 22
1
vote
2 answers

How to set Jhtmlarea editor to blank or empty

I've a textarea and have implemented jHtmlArea Editor jquery plugin. And when click on reset button. I need to set it to empty or blank. HTML is as below I tried, But it didn't work. …
Mayank Pathak
  • 3,621
  • 5
  • 39
  • 67
1
vote
1 answer

Give focus to non-form element?

Am just wondering if there is a way to give focus to a non-form element. I am asking because I am using the jhtmlArea plugin (http://jhtmlarea.codeplex.com/ - page currently down) in a project. And it does work, except that since it masks an IFRAME…
Christian Ziebarth
  • 753
  • 1
  • 7
  • 20
1
vote
2 answers

jHTMLarea - Selecting text doesn't work in IE9

jHTMLarea works in all the browsers, but in IE9, if the textbox requires a scrollbar, anything below the initial window won't highlight when the user goes to highlight it. The code below is what I use to call the plugin. $(function() { …
Kimberly Fox
  • 617
  • 6
  • 13
1
vote
1 answer

How to insert `` section to HtmlArea editor?

Steps to reproduce: Use jHtmlArea editor. Goto Html Edit mode. Add section, for example yandex map widget. Goto Visual Edit mode. Goto Html Edit mode. Section will be broken. How to fix this issue to…
Dmitry
  • 14,306
  • 23
  • 105
  • 189
1
vote
3 answers

Jhtmlarea - copying textarea content to another textarea using jquery

I'm trying to use below code to get text copied from jhtmlarea to another textarea but it do not work. $(function() { …
1
vote
3 answers

jQuery show div with child iframe (wysiwyg text editor)

I have a "display: none" div with a child wysiwyg editor. I have had this problem with both jHtmlArea and CKEditor, so i believe this to be an iframe issue. For this example, I am using jHtmlArea. Without the "display: none;", everything works…
Soturi
  • 1,486
  • 1
  • 14
  • 30
1
vote
0 answers

jHtmlArea "enter" key generated HTML not cross browser

I'm trying to use the jHtmlArea WYSIWYG editor based on jQuery. My problem is that the behaviour of the editor towards the "enter key" is different from browser to browser, for instance, IE renders a p tag, Chrome renders a div tag and Firefox…
Rui
  • 175
  • 8
0
votes
1 answer

jHtmlArea href link corrupted on echo?

I have a jHtmlArea as a text input for a web displayed output unfortunately any images or links that are put into the text area are corrupted with a \ before the quotation mark, when echo'd on the output page. Is there ant way to code this…
0
votes
1 answer

Cannot get the .val of the jHTML textarea?

I'm currently trying creating a form. I have added a WYSIWG editor. The editor I used was the jHTML area. When applying the WYSIWG editor to the textarea getting the value of the textarea using the jQuery .val function does not return a value when…
0
votes
1 answer

JhtmlArea - Set html content

Hi I havce tried this: $(function(){ var descr = $("#area").htmlarea(); }); $("#some_button").click(function(){ descr.pasteHTML("some text"); }); This don't work! How can I do ?? Thx!!
Ste
  • 1,497
  • 8
  • 33
  • 63
0
votes
1 answer

simplemodal conflict with jhtmlarea

whenever I close my simplemodal dialog, jHtmlArea stops working. My code is very simple $.modal.close(); This happens even if I click the close button on simplemodal dialog. Thanks for any help. Edit My app is using ASP.NET MVC3 and the html for…
Daudi
  • 1
  • 1
0
votes
1 answer

jQuery casting Objects

i have a jQuery Object but need it to be a jHtmlArea Object. jHtmlArea is derived from jQuery so it should work theoreticaly - but i haven't found anything on this topic. I know i can cast from javaScript Object to jQuery and back but not how to…
Andresch Serj
  • 35,217
  • 15
  • 59
  • 101
0
votes
1 answer

Jquery appending value to textarea not working until ajax submitted a 2nd time

I have a jquery jhtml WYSIWYG editor in a form and I need to append its output to a textarea manually. The form is being submitted via ajax. The updateText function is called to grab whats in the wysiwyg div and place it in a textarea to enable ajax…
Tim
  • 3,091
  • 9
  • 48
  • 64