Questions tagged [yui-editor]

12 questions
3
votes
2 answers

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…
MK_Dev
  • 3,291
  • 5
  • 27
  • 45
2
votes
1 answer

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…
Javier
  • 2,491
  • 4
  • 36
  • 57
2
votes
2 answers

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…
Ryan
  • 1,184
  • 1
  • 11
  • 19
1
vote
2 answers

cakePHP form with YUI text editor, not working

I am trying to integrate yui editor in a cakephp form the editor is attached to the textarea, I tried the handleSubmit option and it didn't work, so I went trying manual. so- I've attached a listener to the onsubmit, which is working.. or…
yossi
  • 3,090
  • 7
  • 45
  • 65
1
vote
1 answer

How do I specify the return value in a custom YUI cell editor?

I created a custom cell editor that extends BaseCellEditor but how do I specify the value of the cell that will be saved/returned? Setting the this.value = "new value" doesn't work. Any ideas? Thanks in advance.
FinDev
  • 4,437
  • 6
  • 29
  • 29
1
vote
1 answer

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' /…
Joshua
  • 3,615
  • 1
  • 26
  • 32
0
votes
2 answers

YUI Editor: Getting rid of tags in content

I implemented the YUI rich text editor and I would like to get rid of the , 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…
Javier
  • 2,491
  • 4
  • 36
  • 57
0
votes
1 answer

How do I change YUI Editor's fontsize button from a spinner to a select?

I'm implementing YUI Editor (2.8.2rc1), and need the font size to be a dropdown menu, much like the font name. It's a bonus if we can control the font sizes listed (12, 14, 16, 18, 24, 36). Based on examples, I have the following, which does not…
David Smith
  • 38,044
  • 11
  • 44
  • 61
0
votes
2 answers

YUI editor (RTE): How to wrap selection with a and NOT lose formatting?

Ok so I've got a problem I've been working on for the last week or so and have tried everything I know or could find. I am using YUI 2.x editor where users will be doing some heavy formatting. I have an external button on the page that needs to…
Adam
  • 11
  • 1
0
votes
2 answers

YUI datatable conditional dropdown editor

I'm currently editing an application which uses YUI 2.5. I haven't used it before and could use some help. I want to be able to add a dropdown editor for a particular column's rows using datatable, but I only want it to appear if specific values…
0
votes
1 answer

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…
msaspence
  • 1,424
  • 2
  • 14
  • 25
0
votes
3 answers

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…
Zyberzero
  • 1,604
  • 2
  • 15
  • 35