yui-editor

YUI Editor: How to use CSS to format content of editor window?

I've implemented the YUI Editor and would like to apply a CSS to change the look of the text the user is working on inside the rich text editor. I'm working with the yui_editor plugin for ruby on rails, but that doesn't mean that a generic answer wouldn't be welcome. It's even OK if you could just point me to the correct API section and...

YUI Editor: Getting rid of <html> tags in content.

I implemented the YUI rich text editor and I would like to get rid of the <html>, <body> and DOCTYPE tags as soon as I save the content from the editor. I know I could do this afterwards by parsing the HTML, but there must be a better solution. Right now this is saved when I edit a text in the YUI editor: <!DOCTYPE html PUBLIC "-//W3C/...

YUI Editor (RTE): Insert HTML element and place cursor inside

I have a problem. I've been trying to tackle it for a while now and I'm ready to explode. Here's my requirement: I have an external toolbar (not part of YUI) above the editor that I want to use to insert HTML tags. The user should be able to click a link on the toolbar after which a few things may happen: If there's any selected text, ...

title bar is missing in YUI

I'm using the YUI Rich Text editor on my site. I'm loading it using the load javascript from Google. When I try to create a link (or any other action that creates an "settings" box, the title bar is missing, see picture here. You can see how it supposed to look over here at Yahoos site for YUI. I'm using this code in the <head>-tag: <!...

Is it possible to have yui editor change paragraph style without selecting text?

Is it possible to change the behavior of the yui text editor so that when you make markup changes (via the toolbar bar buttons), for example changing from a paragraph to say a heading or to a list, and you dont have any text selected it assumes you mean the current block that the cursor is in So to change a paragraph to a heading rather...

How to insert custom html tag using YUI Editor

I've got YUI set up and working. I've created a custom button and it shows up fine. What I would like that button to do is wrap selected text with my own custom 'span' tags, just like clicking the 'bold' button wraps selected text with 'strong' / 'bold' tags. Does anyone have any examples they could point to to make this work? ...

Drupal 6 and YUI Editor 2.8, cannot get upload image working

Okay, I have installed WYSIWYG module to my Drupal 6 site. I also installed the YUI module v2.8.0r4 I cannot get the image upload to work. When you click image, you get the option to insert URL etc, but no upload form. I searched and searched for days trying to find the issue but nothing seems to work. I have seen this issue with man...

yui_editor rich text editor does not work in IE

I am using yui_editor in my ruby and rails application. The editor is displayed correctly in firefox but not IE. It also gets displayed correctly in Chrome. How can I make it work in IE 7. ...

YUI Code Editor problem in Chrome, Firefox and IE (iframe, div tags)

I am using Yahoo Editor for my asp.net mvc (C#) application. When i tried to use the iframe, its ripping of the complete html. It works in Chrome, but not in Firefox and IE. I have tried pasting the below html in http://developer.yahoo.com/yui/examples/editor/code_editor.html. <iframe src="http://www.google.com" width="100%" height="3...