Questions tagged [wysihat]

WysiHat is a WYSIWYG JavaScript framework which provides various options for customizing and creating a custom rich text editor.

WysiHat is a WYSIWYG JavaScript framework which provides various options for customizing and creating a custom rich text editor. It uses the Prototype javascript library and comes as a skeleton, leaving the developer to build a fully-customized UI based on own preferences.

11 questions
7
votes
3 answers

How can you catch a contentEditable paste event?

I've got a great editable text area going with wysihat and contentEditable. I really need a way to intercept paste events to either stop them, or process their DOM before allowing insertion. It's a little crazy they people can paste entire…
mixonic
  • 2,693
  • 1
  • 18
  • 23
6
votes
3 answers

`next_migration_number': NotImplementedError (NotImplementedError) using wysihat-engine in rails

I am using following gem for editor. gem "wysihat-engine", "~> 0.1.13" When I run 'rails generate wysihat' it's generate all image file, but can't generate migration and giving following error…
vajapravin
  • 1,363
  • 3
  • 16
  • 29
3
votes
1 answer

WYSIHAT and rails 3

Does anyone have any advice on how to go about installing WYSIHAT in a Rails 3 app? There's a lot of good information about getting it to work with Rails 2, there's an engine, and some decent blog posts but they're all slightly dated Also, I would…
stephenmurdoch
  • 34,024
  • 29
  • 114
  • 189
3
votes
1 answer

Wysihat without Rake, just Javascript?

Is there a way to install and use Wysihat without running Rake? I naively tried copying source javascript-files from online examples of Wysihat, but I get the warning that I should "run Rake in the project root". Second, I tried to get Rake…
Abe1984
  • 101
  • 6
2
votes
2 answers

to return the value of iframe inside the body using jquery

I'm using the wysihat-engine on my jsp. It works well, but when I tried to add a preview feature that is suppose to read from the on-fly created iFrame and put it's value inside the hidden preview div, it couldn't read the iframe's included html.…
Ali Taha Ali Mahboub
  • 3,271
  • 6
  • 26
  • 25
2
votes
3 answers

WYSIHAT 'resonds_to_parent" undefined method - Ruby on Rails

I just successfully installed WysiHat in my rails blog. Seems that the 'add a picture' feature is not working. It successfully allows me to find and select a picture from my desktop but upon clicking save, it does nothing. I also have Paperclip…
bgadoci
  • 6,363
  • 17
  • 64
  • 91
1
vote
1 answer

Need help getting Wysihat to work

I'm using Wysihat in a rails project and am stumped by its inability to bind to my textarea named post_description (model name Post field name description). I have the following in my head tag: <%= javascript_include_tag 'prototype_1.7'%> …
slythic
  • 311
  • 4
  • 15
1
vote
1 answer

Javascript problems in IE - object expected?

I'm using a jQuery fork of Wysihat as a Wysiwig editor in a project of mine. It works perfectly in all browsers apart from (surprise, surprise) IE (specifically IE8). I've got the example files uploaded…
Pezholio
  • 2,439
  • 5
  • 27
  • 41
0
votes
1 answer

WYSiHat editing issue

I am currently using WYSiHat rich text editor on my java spring project. It works very well, but once I try to edit a pre-made message, the HTML is normally retrieved inside the iFrame, but I can't delete anything out of it unless I add anything…
Ali Taha Ali Mahboub
  • 3,271
  • 6
  • 26
  • 25
0
votes
1 answer

is WYSiHat some how based on YUI

I have a simple question. IS WYSiHat WYSIWYG rich text editor some how based on YUI? As far as I understand it is not, but some how the way it is coded is very similar to YUI. Thanks
Ali Taha Ali Mahboub
  • 3,271
  • 6
  • 26
  • 25
0
votes
1 answer

Wysihat jQuery fork can't add text to textarea

I use https://github.com/swilliams/jq-wysihat jQuery Wysihat fork. I ran rake to get the source code built, then copied the dist/jq-wysihat.js and editor.css over to my Rails library. It shows the Wysihat editor, and I can see that the textarea is…
Victor
  • 13,010
  • 18
  • 83
  • 146