comparison media/js/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js @ 183:149c3567fec1

Updated to TinyMCE version 3.3.2. This is for #57.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Mar 2010 21:47:48 +0000
parents a5b4c5ce0658
children 6ed2932901fa
comparison
equal deleted inserted replaced
182:5c889b587416 183:149c3567fec1
1 /** 1 /**
2 * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $ 2 * editor_plugin_src.js
3 * 3 *
4 * @author Moxiecode 4 * Copyright 2009, Moxiecode Systems AB
5 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. 5 * Released under LGPL License.
6 *
7 * License: http://tinymce.moxiecode.com/license
8 * Contributing: http://tinymce.moxiecode.com/contributing
6 */ 9 */
7 10
8 (function() { 11 (function() {
9 tinymce.create('tinymce.plugins.XHTMLXtrasPlugin', { 12 tinymce.create('tinymce.plugins.XHTMLXtrasPlugin', {
10 init : function(ed, url) { 13 init : function(ed, url) {
116 cm.setDisabled(n.nodeName.toLowerCase(), 0); 119 cm.setDisabled(n.nodeName.toLowerCase(), 0);
117 cm.setActive(n.nodeName.toLowerCase(), 1); 120 cm.setActive(n.nodeName.toLowerCase(), 1);
118 } while (n = n.parentNode); 121 } while (n = n.parentNode);
119 } 122 }
120 }); 123 });
124
125 ed.onPreInit.add(function() {
126 // Fixed IE issue where it can't handle these elements correctly
127 ed.dom.create('abbr');
128 });
121 }, 129 },
122 130
123 getInfo : function() { 131 getInfo : function() {
124 return { 132 return {
125 longname : 'XHTML Xtras Plugin', 133 longname : 'XHTML Xtras Plugin',