tinymce

How to integrate TinyMCE in Streamline?

I try to integrate the Tinymce wysiwyg-editor into my adminpage whitch i create with streamlined framework. I wan to reset all textareas with this line: <%= tinymce_tag('comment[body]', 'Your comment goes here ...') %> but where i can find in streamline part to make this available? Can i edit that in this file? -> ROOT_PATH/str...

Tinymce IE6+ How can I get a working range?

I've searching forever trying to figure out why IE will not save the current caret position and then reload it. To be descriptive of the situation it works like this: Client wants Tinymce custom built with an ajax image loader that is simplistic in the nature that any "idiot" can upload and set some settings to an image within the text...

TinyMCE with Ajax Form in ASP.NET MVC

Hi, I have set up a form using TinyMCE in my MVC website. To do this, I have an ajaxForm in a partial view like this: <% using (Ajax.BeginForm( (Model.ViewMode == ViewMode.Insert) ? "Create" : "Edit", new AjaxOptions() { UpdateTargetId = CustomerVie...

How to load html using jquery into a TinyMCE textarea

Hi, I've a textarea that uses TinyMCE as a WYSIWYG. Once that this textarea is loaded I want that, clicking a button "Edit" some html code that I bring with AJAX jquery is loaded in that textarea. I want to insert this html code <p>hello</p> Original textarea source <textarea name="corpo" id="input_corpo">Text Here</textarea> JQUER...

Tiny MCE Safari, IE<8 problem

I am facing a weird problem with TinyMCE. I have incorporated tiny mce for my reply area and when the page loads for the very first time it doesn't show the tiny mce rich text editor the moment i refresh the page the rich text editor is visible. This problem come on Safari all the versions, IE version less than 8. Firefox everything w...

Help! TinyMCE is reformatting my code!

Hey, when i edit the HTML source from: <div /> the result is always something like: <div></div> i don't want that.. it should leave my code alone ;) here is the config: tinyMCE.init({ // General options mode : "textareas", theme: "advanced", element_format : "xhtml", remove_linebreaks: false, remove_redundant_brs: false,...

How can I move TinyMCE's toolbar into a modal popup?

I'm using TinyMCE & jQuery and am having a problem moving TinyMCE's external toolbar to another location in the DOM. To further complicate things, there are multiple TinyMCE instances on the page. I only want the toolbar for the one that's currently being edited. Here's some sample code: $(textarea).tinymce({ setup: function(ed) {s...

Xval and Tinymce

I have a problem on submitting an asp.net mvc form that is using Xval for validation and uses TinyMce as an editor on two text areas. The TinyMce editor is initialized with the new tinymce jquery plugin and the form validation and submission works perfectly if I remove the editor. But if I initialize the editor the form is submitte...

TinyMCE textarea problem

I have an automatically generated text-area (by the Erlang Web framework) that looks like the following: <span class="form_input"> <textarea id="question_text" class="tinymce" name="question_text"> </textarea> </span> I'm trying to apply the TinyMCE editor to it, but what happens is the following: http://img24.imageshack.us/img24/9...

with tinymce, do you have to handle html markup?

If you use tinymce, does that mean you have to handle the parsing of the HTML on the postback (when saving the data to the db)? i.e. you have to parse the output and make sure no hacky script was posted back or can you have tinymce convert the html into a safe markup? ...

UploadRequest.Item method doesnt work into textareas using TinyMCE

Hi, that's all in the title. I've got a Curriculum Vitae form which has a textarea using TinyMCE and a file upload input, and the script is in classic ASP. <script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "simple" }); </script> <textarea name="messaggio" id="messaggio"></text...

with tinymce, how to convert an html tag into a different format

I want to convert an HTML tag that tinymce returns into a different format. e.g. The italics tag I want to convert to #i# Is that possible with the editor itself? During postback I strip all html tags, so I need it in a different safer format. ...

Does TinyMCE have usable content focus/blur events?

I want to be able to have default text like "Enter content here..." appear when the editor first loads, but I want this text to disappear when the user clicks/focuses on the content area. Then, if they "blur" (move out) of the content area without inputting anything, I want the "default text" to re-appear in the editor. After Googling a...

while using Tiny mce pages take for ever to load.

I have a few forms that use tiny mce. I have noticed recently that the page takes for ever to load (over 2 minutes), as soon as I comment out the text area that uses tiny mce the page loads just fine (under 5 seconds). I have no clue what is going on since it was working just fine in my local machine until last week. I'm using apache2, p...

tinymce in ajax call - how to get contents

this is what I have in my view: <% form_remote_tag :url => { :controller => 'comments', :action => "create", :post_id => "#{@post.id}"}, :html => {:id => 'comment_form' }, :before => "tinyMCE.triggerSave(true,true);" do %> <%= label_tag 'Comment' %><br/> <%= text_area_tag :comment_body, nil,:rows => 10, :cols => 100 %><...

Joomla chronoform insert into existing content

Hi, I dont know much about joomla but I have a problem. I started reading for the chromoform and it is a very nice pugin. I created a form which I can see in the form manager and also I can view in the url. but I want ot integrate it to an existing content. I have a content which contains text, photos etc.. The content is editable with ...

TinyMCE and rails

I am a rails n00b. I want to use tinyMCE instead of a textarea that got created automatically via scaffolding. so Im using tinyMCE hammer. the scaffolding automatically created this line <%= f.text_area :descripcion %> and I substituted it with <%= tinymce(:descripcion) %> When I load the view it looks just fine but when I try to s...

Regex to move image in markup with PHP when publishing content with TinyMCE

Hi guys, I am using TinyMCE to publish content to my site. I have the problem whereby I can only insert an image inside another element, eg a paragraph, even if I place the cursor at the end of the content. So, when I publish the content, I currently end up with markup like: <p>Text content <img src="blah" /></p><p>Another paragraph</...

TinyMCE editor disable

How can I disable tinyMCE? I'm not trying to make tinyMCE not exist, just trying to disable the field temporarily using PrototypeJS's Form.disable. Is there a particular way to mark a field disabled for editing? ...

TinyMCE is making my code valid, and I want it to stop! (<img> tag wrapped in <p>)

I have TinyMCE installed on the back end of a site. Some of the html it's accessing isn't totally valid, which I realize is the problem in itself. However, TinyMCE is messing things up by making things valid. I have an <img> with no parents (no <p>, no <div>, etc), and TinyMCE is wrapping the <img> in <p></p>. I'm trying to find a settin...