tinymce

tag problem with tinyMCE

I am using tinyMCE to create a message and email in my php application. However when I use tinyMCE email comes with tags like, <p>This is message</p> If I don't use tinyMCE, message is sent without tag. Does anyone know how to solve this problem? ...

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 ...

Setting up TinyMCE textbox element

On the web page I try to initialize TinyMCE for a specifice asp:textbox web control. This is the javascript in the header: tinyMCE.init({ mode: "exact", elements: '<% = txtBody.ClientID %>', The problem is that the txtBody control is generated inside template of DetailsView control: <asp:TemplateField HeaderText="B...

Bookmarklet and tinyMCE

function loadBookmarklet() { var scriptT = document.createElement("script"); scriptT.src = "http://abc.com/tinymce/jscripts/tiny_mce/tiny_mce.js"; scriptT.type = "text/javascript"; document.body.appendChild(scriptT); tinyMCE.init({ mode : "textareas", theme : "simple" }); }; i am getting the er...

In my Tiny msc text edior i want only one text editor

Hi I have implemented a tiny msc in my project . I want one text editor and one text area , But all the text area in my page appears as a text editor , How i avoid this problem , Below is my code .. <script type="text/javascript" src="./js/tiny_mce/tiny_mce.js"></script> <script type="text/javascript"> tinyMCE.init({ // General opt...

TinyMCE and blockquotes

Hi, I have a TinyMCE field initialized as follows: ... extended_valid_elements: "ul[type],li,a[name|href|target|title],img[class|src|border|alt|title|hspace|vspace|width|height|align|name|style],hr[class|width|size|noshade],span[class|align|style],iframe[src|class|width|height|name|align],#p/div,strike", force_br_newline...

An instance of tinyMCE editor in a bookmarlet

has anyone tried to get an instance of tinyMCE editor in a bookmarket? i tried the following:- created a widget.js file which get attached to the body when the bookmarklet is clicked. in the widget file i use the document.createElement to create a textarea, which i want as a text editor. tinyMCE.activeEditor.setContent(selectedText)...

asp.net mvc - how to update dropdown list in tinyMCE...

Scenario: I have a standard dropdown list and when the value in that dropdownlist changes I want to update another dropdownlist that exists in a tinyMCE control. Currently it does what I want when I open the page (i.e. the first time)... function changeParent() { } tinymce.create('tinymce.plugins.MoePlugin', { creat...

validate textarea using tinyMCE - jquery

Hey! I'm trying to validate a textarea so a user can't add a new empty message via tinyMCE textarea. But it just don't seems to work. What am i doing wrong ? JS: var msg = $("#msg"); if(msg.val() == ''){ $("#msg_error").html("* Can't add an empty message"); } Textarea <textarea rows="5" cols="35" id...

Tiny mce Displaying style of ordered list

Hi Thanks in advance I have a text editor with tiny mce. Here orederd list appears after some space , i want to reduce / remove that space , How i do this ? Does any one help me? ...

Restrict keyboard shortcuts in TinyMCE editor

Trying to find where to disable individual keyboard shortcuts in the jQuery version of TinyMCE editor. Currently the list of allowable shortcuts is: ctrl+z Undo ctrl+y Redo ctrl+b Bold ctrl+i Italic ctrl+u Underline ctrl+1-6 h1-h6 ctrl+7 p ctrl+8 div ctrl+9 address Currently looking to disable all shortcuts but Undo, Redo and b...

Test to see if you are in a specific content block in TinyMCE and not allow a plugin to add to that content block if in it

So I have a TinyMCE form on my page and it is pre-filled with "sections" (divs with specific class names). I have a couple of plugins that will add to TinyMCE with more "sections". I need it so when I push the plugin button it will test to make sure the cursor is not inside a "section" and paste a "section" inside another "section". N...

How to change tinyMCE editor's button's default tag output in wordpress?

Wordpress Tiny MCE editor and WP own editor both has button for <blockquote> . if we select any text and press this buttom then it wraps that text with <blockquote>.....</blockquote>. I want to change this output to this <blockquote><div class="quote_start"><div></div></div><div class="quote_end"><div></div></div>.........................

Django not recognizing the MEDIA_URL path?

So I'm trying to get TinyMCE up and running on a simple view function, but the path to the tiny_mce.js file gets screwed up. The file is located at /Users/home/Django/tinyMCE/media/js/tiny_mce/tiny_mce.js. I believe that /media/js/tiny_mce/tiny_mce.js is correct, as the development server has no access to files above the root of the Djan...

Troubles with Internet Explorer when hosting TinyMCE on Amazon S3

I am using the TinyMCE rich text editor on my site. Instead of hosting the TinyMCE files on my main site, I am using Amazon's S3 hosting to serve up the JS, image, and other files in the TinyMCE package. With Firefox, life is good. TinyMCE get's served up nice a quick. With Internet Explorer, I get Access Denied and/or a Security Warnin...

TinyMCE button UI weirdness

Anyone encountered this before: I've tried using firebug to spot differences between this and a working version and I spot none. A working version should like the following: ...

tinymce: invert enter and shift+enter

Hi i'm using tinymce. when i press enter tinymce generates a paragraph + a tag br i don't want this behaviour. Is possible obtain with enter pressing the behaviour of pressing shift+enter ? thanks ...

Plain and Rich text editor options in TinyMce editor

Hi, I am using tinymce editor to give good look of textarea where user write some comments.I want to give him two options one is plain text and the other is rich text editor option.When user click on plain text option all rich text option removed and when user click on rich text it will get all options of formatting text. I want to do t...

tinymce only readable in jquery ui dialog

Hi i'm using tinymce in a jquery ui dialog. But is only readable why? How can i fix it? thanks ...

Drupal relative link problems moving from mydomain.com/test to mydomain.com

I currentley have a test site up and running on mydomain.cm/test. I am using the WYSIWYG module with tinymce to allow my customers to upload pictures to the site. One a image is added to the site tinymce/imce does not use the base url defined for the site in front opf links but gives linkes realtive to the root i.e. a picture of img.jpg ...