rte

YUI: RTE: focus and blur events

Is it possible to get the equivalent of the focus and blur events that we have on other form controls for the RTE? That is, I would like to know when a given RTE gets the focus and when it loses it. I see that the RTE supports lots of events (http://developer.yahoo.com/yui/editor/#events), but I don't see anything about focus/blur. Am I...

javascript Rich Text Editors

There are several (very good) rich text web editors written in Javascript (eg FCKeditor, YUI Texteditor and many many others). However I couldn't find any tutorial on how to build such a component. Something that would explain both high-level considerations (architecture) and/or more details in low-level "critical" points (ie why do mos...

Using RTE in ASP.NET website or a control that holds both text and image in web forms

I am creating a web based application using C#, ASP.NET. I have a requirement in my project - to have a control in my web page that would allow the users to enter text or copy paste image from the clipboard (say a snapshot). Is there a control in .NET like the clipboard control in Windows? I tried creating a RichTextEditor custom contro...

Modifying a YUI RTE toolbar after it's been created

I am in a situation where I do not control the creation of one or many YUI Rich Text Editors; it is done in someone else's library. For the purposes of this discussion: patching code-- monkey or otherwise-- is not an option. removing (editor.destroy()) the editor that's already there and adding my own is also not an option. The code ...

styleWithCSS for IE

I'm building a custom RTE that converts user input to a homebrewn markup, now idiot that I am I did this using an iframe with designMode = "On" and got it to work in firefox using styleWithCSS = false so that I could easily convert the <b> (yes... b :( ) into my markup which would then output the proper code instead of me having to read ...

RichTextEditor that is PHP/code friendly to snippets of php

I can't seem to find a js RTE that will play friendly with snippets of php intertwined in it. I want a mini CMS for the backend of a number of sites. The views have some snippets of php here and there Are there any RTE's that will leave the php alone, and even show it mixed with the nice formatting? TinyMCE kills the tags even when...

How do you copy and paste rich text to and from the wxRichTextCtrl?

I am using wxruby but as far as I can tell its not only a ruby problem. If I try to copy and paste rich text into the wxRichTextCtrl it loses all the formatting. What am I missing? Is there any way to make this work? ...

Open source Javascript RTE

What open source RTE do you use in your day to day web dev tasks and why? I've been using both TinyMCE and FCK but both seem very clunky and buggy. I've had nightmares with FCK while trying to extend it and it has loads of bugs in IE. Ideally I'd be looking for something that fun to maintain and easy to extend while providing most of t...

jQuery: Batiste Rich-Text Editor -- how to update content?

Hello, I'm using this lightweight jQuery plugin to create a rich-text editor:Batiste RTE jQuery Plugin As part of a more complex form, I have the functionality of clearing changes and I want to be able to do this for the editor as well. I keep the initial content in a variable, and I want to do something like: setContent(INITIAL_CONTE...

embedding flash in rich text editor

I've been trying to embed a flash widget inside a rich text editor (http://code.google.com/p/lwrte/), by adding an tag to the iframe's HTML using mozilla's .insertHTML function (http://www.mozilla.org/editor/midas-spec.html), but for some reason it never shows up - using firebug i can see that the embed tag is there, but it has stripped...

Free RTE [Rich text editor] help needed integrating it

Working on a PHP /html content management system and found Free RTE online which is a free rich text editor. Have no idea how to integrate it into my own stuff. There are sample codes with it alrite, but they are not very clear. Anyone used it before or have any knowledge of integrating it??? ...

Problems with livequery and rte on firefox 3.5.2

Hi, i been using the following code for some time now and it has worked ok on ie6-8 and firefox 3. $("#article").livequery(function () { $("#article").rte({ cssUrl: "css/rte.css", mediaUrl: "css/rte/", listenToClass: "send"}); }); but now that i have upgraded to firefox 3.5.2 it enters an infinite loop adding r...

Javascript RTE with spellcheck

Can anyone point me in the direction of a good rich text editor (cost not an issue) that has an inbuilt spell check or can be configured to point to an internal spelling service. I cannot use widgets that harness external jsonp services (google api etc) due to the application residing on a restricted network. ...

Adding an RTE to salesforce text areas

Does anyone know if there's a way to add an RTE to textarea fields within salesforce? I'm fairly new to the platform but i haven't been able to find any useful documentation on this. ...

styleWithCSS for IE

I'm using a rich text editor and when I click on the indent, it inserts a tag. I ran execCommand('styleWithCSS', false, true); and that made it do the indent using styling. Unforntunately, this only work in firefox and not IE. Does anyone have a solution for getting it to use styling in IE? ...

TinyMCE editor - line breaks not correct

Hoping there's some TinyMCE guys in here ready to help. I'm using the BBCode plugin. I have the following lines in the editor window: This is line one This is line three Line two is empty. When I'm viewing this in HTML i get the following. This is line one This is line three Without the extra empty line. tinyMCE.init({ mode ...

Starting out with RTE and Javascript

I'm somewhat new to Javascript, not HTML/CSS or PHP/MySQL, just JS. I have a quick question. If I were to try to make my own RTE Text editor for a system that I'm building, does anyone know where I would start out? Books, tutorials, whatever is fine. Thanks. ...

Getting a Flex RTE to group LI items properly in XML (wrapped in UL tag)

I'm trying to use XML to convert the code that a Flex RTE creates to valid HTML. No problems on other HTML elements, but difficulty with unordered lists. I created a solution for moving consecutive LIs into a UL node. After trial and error, I came up with the following solution. My question is - surely there's a better way to do this...

Sitecore not resolving rich text editor URLS in page renders

Hi We're having issues inserting links into rich text in Sitecore 6.1.0. When a link to a sitecore item is inserted, it is outputted as: http://domain/~/link.aspx?_id=8A035DC067A64E2CBBE2662F6DB53BC5&amp;_z=z Rather than the actual resolved url: http://domain/path/to/page.aspx This article confirms that this should be resolved in th...

Accessing YUI RichTextEditor node

I'm inserting images to editor with id param. after that i'm trying to access it with Dom.get('id'), but it returns null. I understand that it returns null because it works under parent window's scope. Is there any standard way to access it? ...