Bug #25018 ยป rtehtmlarea_cleanup_17561.patch
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail) | ||
---|---|---|
}
|
||
}
|
||
};
|
||
/**
|
||
* Base, version 1.0.2
|
||
* Copyright 2006, Dean Edwards
|
||
* License: http://creativecommons.org/licenses/LGPL/2.1/
|
||
*/
|
||
HTMLArea.Base = function() {
|
||
if (arguments.length) {
|
||
if (this == window) { // cast an object to this class
|
||
HTMLArea.Base.prototype.extend.call(arguments[0], arguments.callee.prototype);
|
||
} else {
|
||
this.extend(arguments[0]);
|
||
}
|
||
}
|
||
};
|
||
HTMLArea.Base.version = "1.0.2";
|
||
HTMLArea.Base.prototype = {
|
||
extend: function(source, value) {
|
||
var extend = HTMLArea.Base.prototype.extend;
|
||
if (arguments.length == 2) {
|
||
var ancestor = this[source];
|
||
// overriding?
|
||
if ((ancestor instanceof Function) && (value instanceof Function) &&
|
||
ancestor.valueOf() != value.valueOf() && /\bbase\b/.test(value)) {
|
||
var method = value;
|
||
// var _prototype = this.constructor.prototype;
|
||
// var fromPrototype = !Base._prototyping && _prototype[source] == ancestor;
|
||
value = function() {
|
||
var previous = this.base;
|
||
// this.base = fromPrototype ? _prototype[source] : ancestor;
|
||
this.base = ancestor;
|
||
var returnValue = method.apply(this, arguments);
|
||
this.base = previous;
|
||
return returnValue;
|
||
};
|
||
// point to the underlying method
|
||
value.valueOf = function() {
|
||
return method;
|
||
};
|
||
value.toString = function() {
|
||
return String(method);
|
||
};
|
||
}
|
||
return this[source] = value;
|
||
} else if (source) {
|
||
var _prototype = {toSource: null};
|
||
// do the "toString" and other methods manually
|
||
var _protected = ["toString", "valueOf"];
|
||
// if we are prototyping then include the constructor
|
||
if (HTMLArea.Base._prototyping) _protected[2] = "constructor";
|
||
for (var i = 0; (name = _protected[i]); i++) {
|
||
if (source[name] != _prototype[name]) {
|
||
extend.call(this, name, source[name]);
|
||
}
|
||
}
|
||
// copy each of the source object's properties to this object
|
||
for (var name in source) {
|
||
if (!_prototype[name]) {
|
||
extend.call(this, name, source[name]);
|
||
}
|
||
}
|
||
}
|
||
return this;
|
||
},
|
||
base: function() {
|
||
// call this method from any other method to invoke that method's ancestor
|
||
}
|
||
};
|
||
HTMLArea.Base.extend = function(_instance, _static) {
|
||
var extend = HTMLArea.Base.prototype.extend;
|
||
if (!_instance) _instance = {};
|
||
// build the prototype
|
||
HTMLArea.Base._prototyping = true;
|
||
var _prototype = new this;
|
||
extend.call(_prototype, _instance);
|
||
var constructor = _prototype.constructor;
|
||
_prototype.constructor = this;
|
||
delete HTMLArea.Base._prototyping;
|
||
// create the wrapper for the constructor function
|
||
var klass = function() {
|
||
if (!HTMLArea.Base._prototyping) constructor.apply(this, arguments);
|
||
this.constructor = klass;
|
||
};
|
||
klass.prototype = _prototype;
|
||
// build the class interface
|
||
klass.extend = this.extend;
|
||
klass.implement = this.implement;
|
||
klass.toString = function() {
|
||
return String(constructor);
|
||
};
|
||
extend.call(klass, _static);
|
||
// single instance
|
||
var object = constructor ? klass : _prototype;
|
||
// class initialisation
|
||
//if (object.init instanceof Function) object.init();
|
||
return object;
|
||
};
|
||
HTMLArea.Base.implement = function(_interface) {
|
||
if (_interface instanceof Function) _interface = _interface.prototype;
|
||
this.prototype.extend(_interface);
|
||
};
|
||
/**
|
||
* HTMLArea.plugin class
|
||
*
|
||
* Every plugin should be a subclass of this class
|
||
*
|
||
*/
|
||
HTMLArea.Plugin = HTMLArea.Base.extend({
|
||
HTMLArea.Plugin = function (editor, pluginName) {
|
||
};
|
||
/**
|
||
***********************************************
|
||
* THIS FUNCTION IS DEPRECATED AS OF TYPO3 4.6 *
|
||
***********************************************
|
||
* Extends class HTMLArea.Plugin
|
||
*
|
||
* Defined for backward compatibility only
|
||
* Use Ext.extend(SubClassName, config) directly
|
||
*/
|
||
HTMLArea.Plugin.extend = function (config) {
|
||
return Ext.extend(HTMLArea.Plugin, config);
|
||
};
|
||
HTMLArea.Plugin = Ext.extend(HTMLArea.Plugin, {
|
||
/**
|
||
* HTMLArea.plugin constructor
|
||
* HTMLArea.Plugin constructor
|
||
*
|
||
* @param object editor: instance of RTE
|
||
* @param string pluginName: name of the plugin
|
||
*
|
||
* @return boolean true if the plugin was configured
|
||
*/
|
||
constructor : function(editor, pluginName) {
|
||
constructor: function (editor, pluginName) {
|
||
this.editor = editor;
|
||
this.editorNumber = editor.editorId;
|
||
this.editorId = editor.editorId;
|
||
... | ... | |
} catch(e) {
|
||
this.I18N = new Object();
|
||
}
|
||
return this.configurePlugin(editor);
|
||
this.configurePlugin(editor);
|
||
/**
|
||
***********************************************
|
||
* THIS FUNCTION IS DEPRECATED AS OF TYPO3 4.6 *
|
||
***********************************************
|
||
* Extends class HTMLArea[pluginName]
|
||
*
|
||
* Defined for backward compatibility only
|
||
* Use Ext.extend(SubClassName, config) directly
|
||
*/
|
||
HTMLArea[pluginName].extend = function (config) {
|
||
return Ext.extend(HTMLArea[pluginName], config);
|
||
};
|
||
},
|
||
/**
|
||
* Configures the plugin
|
||
* This function is invoked by the class constructor.
|
||
... | ... | |
*
|
||
* @return boolean true if the plugin was configured
|
||
*/
|
||
configurePlugin : function(editor) {
|
||
configurePlugin: function (editor) {
|
||
return false;
|
||
},
|
||
/**
|
||
***********************************************
|
||
* THIS FUNCTION IS DEPRECATED AS OF TYPO3 4.6 *
|
||
***********************************************
|
||
* Invove the base class constructor
|
||
*
|
||
* Defined for backward compatibility only
|
||
* Note: this.base will exclusively refer to the HTMLArea.Plugin class constructor
|
||
*/
|
||
base: function (editor, pluginName) {
|
||
HTMLArea.appendToLog(editor.editorId, 'HTMLArea.' + pluginName, 'base', 'Deprecated use of base function. Use Ext superclass reference instead.');
|
||
HTMLArea.Plugin.prototype.constructor.call(this, editor, pluginName);
|
||
},
|
||
/**
|
||
* Registers the plugin "About" information
|
||
*
|
||
* @param object pluginInformation:
|
||
... | ... | |
*
|
||
* @return boolean true if the information was registered
|
||
*/
|
||
registerPluginInformation : function(pluginInformation) {
|
||
registerPluginInformation: function(pluginInformation) {
|
||
if (typeof(pluginInformation) !== "object") {
|
||
this.appendToLog("registerPluginInformation", "Plugin information was not provided");
|
||
return false;
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/AboutEditor/about-editor.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.AboutEditor = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.AboutEditor = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.0',
|
||
version : '2.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/Acronym/acronym.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.Acronym = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.Acronym = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.3',
|
||
version : '2.4',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.BlockElements = HTMLArea.Plugin.extend({
|
||
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
|
||
HTMLArea.BlockElements = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin : function (editor) {
|
||
|
||
configurePlugin: function (editor) {
|
||
/*
|
||
* Setting up some properties from PageTSConfig
|
||
*/
|
||
... | ... | |
this.formatBlockItems[tagName].classList = new RegExp( "^(" + this.formatBlockItems[tagName].classList.join("|") + ")$");
|
||
}
|
||
}
|
||
|
||
/*
|
||
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '1.5',
|
||
version : '2.0',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockStyle/block-style.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.BlockStyle = HTMLArea.Plugin.extend({
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.BlockStyle = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.0',
|
||
version : '2.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/CharacterMap/character-map.js (copie de travail) | ||
---|---|---|
*
|
||
* (c) 2004 Bernhard Pfeifer novocaine@gmx.net
|
||
* (c) 2004 systemconcept.de. Authored by Holger Hees based on HTMLArea XTD 1.5 (http://mosforge.net/projects/htmlarea3xtd/).
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.CharacterMap = HTMLArea.Plugin.extend({
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.CharacterMap = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.0',
|
||
version : '2.1',
|
||
developer : 'Holger Hees, Bernhard Pfeifer, Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Holger Hees, Bernhard Pfeifer, Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/ContextMenu/context-menu.js (copie de travail) | ||
---|---|---|
* Copyright notice
|
||
*
|
||
* Copyright (c) 2003 dynarch.com. Authored by Mihai Bazon. Sponsored by www.americanbible.org.
|
||
* Copyright (c) 2004-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* Copyright (c) 2004-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.ContextMenu = HTMLArea.Plugin.extend({
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.ContextMenu = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '3.1',
|
||
version : '3.2',
|
||
developer : 'Mihai Bazon & Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'dynarch.com & Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/copy-paste.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.CopyPaste = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.CopyPaste = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.2',
|
||
version : '2.3',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultClean/default-clean.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.DefaultClean = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.DefaultClean = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.0',
|
||
version : '2.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultImage/default-image.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.DefaultImage = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.DefaultImage = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.1',
|
||
version : '2.2',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultInline/default-inline.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.DefaultInline = HTMLArea.Plugin.extend({
|
||
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
|
||
HTMLArea.DefaultInline = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin : function (editor) {
|
||
|
||
configurePlugin: function (editor) {
|
||
/*
|
||
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : "1.1",
|
||
developer : "Stanislas Rolland",
|
||
developerUrl : "http://www.fructifor.ca/",
|
||
copyrightOwner : "Stanislas Rolland",
|
||
sponsor : "Fructifor Inc.",
|
||
sponsorUrl : "http://www.fructifor.ca/",
|
||
license : "GPL"
|
||
version : '1.2',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
||
sponsor : 'SJBR',
|
||
sponsorUrl : 'http://www.sjbr.ca/',
|
||
license : 'GPL'
|
||
};
|
||
this.registerPluginInformation(pluginInformation);
|
||
/*
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultLink/default-link.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.DefaultLink = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.DefaultLink = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.1',
|
||
version : '2.2',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefinitionList/definition-list.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.DefinitionList = HTMLArea.BlockElements.extend({
|
||
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
|
||
HTMLArea.DefinitionList = Ext.extend(HTMLArea.BlockElements, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin : function (editor) {
|
||
|
||
configurePlugin: function (editor) {
|
||
/*
|
||
* Setting up some properties from PageTSConfig
|
||
*/
|
||
... | ... | |
this.indentedList = null;
|
||
this.standardBlockElements = parentPlugin.standardBlockElements;
|
||
this.formatBlockItems = parentPlugin.formatBlockItems;
|
||
|
||
/*
|
||
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : "1.0",
|
||
developer : "Stanislas Rolland",
|
||
developerUrl : "http://www.sjbr.ca/",
|
||
copyrightOwner : "Stanislas Rolland",
|
||
sponsor : this.localize("Technische Universitat Ilmenau"),
|
||
sponsorUrl : "http://www.tu-ilmenau.de/",
|
||
license : "GPL"
|
||
version : '1.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
||
sponsor : this.localize('Technische Universitat Ilmenau'),
|
||
sponsorUrl : 'http://www.tu-ilmenau.de/',
|
||
license : 'GPL'
|
||
};
|
||
this.registerPluginInformation(pluginInformation);
|
||
/*
|
||
... | ... | |
*
|
||
* @return boolean false if action is completed
|
||
*/
|
||
onButtonPress : function (editor, id, target, className) {
|
||
onButtonPress: function (editor, id, target, className) {
|
||
// Could be a button or its hotkey
|
||
var buttonId = this.translateHotKey(id);
|
||
buttonId = buttonId ? buttonId : id;
|
||
... | ... | |
if (/^(dd|dt)$/i.test(parentElement.nodeName) && this.indentDefinitionList(parentElement, range)) {
|
||
break;
|
||
} else {
|
||
this.base(editor, id, target, className);
|
||
HTMLArea.DefinitionList.superclass.onButtonPress.call(this, editor, id, target, className);
|
||
}
|
||
break;
|
||
case "Outdent" :
|
||
if (/^(dt)$/i.test(parentElement.nodeName) && this.outdentDefinitionList(selection, range)) {
|
||
break;
|
||
} else {
|
||
this.base(editor, id, target, className);
|
||
HTMLArea.DefinitionList.superclass.onButtonPress.call(this, editor, id, target, className);
|
||
}
|
||
break;
|
||
case "DefinitionList":
|
||
... | ... | |
this.editor.selectRange(this.editor.moveToBookmark(bookmark));
|
||
break;
|
||
default:
|
||
this.base(editor, id, target, className);
|
||
HTMLArea.DefinitionList.superclass.onButtonPress.call(this, editor, id, target, className);
|
||
}
|
||
return false;
|
||
},
|
||
... | ... | |
&& !endBlocks.end.nextSibling) {
|
||
button.setDisabled(false);
|
||
} else {
|
||
this.base(button, mode, selectionEmpty, ancestors);
|
||
HTMLArea.DefinitionList.superclass.onUpdateToolbar.call(this, button, mode, selectionEmpty, ancestors);
|
||
}
|
||
break;
|
||
case 'DefinitionList':
|
||
... | ... | |
} else {
|
||
switch (button.itemId) {
|
||
case 'Outdent':
|
||
this.base(button, mode, selectionEmpty, ancestors);
|
||
HTMLArea.DefinitionList.superclass.onUpdateToolbar.call(this, button, mode, selectionEmpty, ancestors);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
});
|
||
typo3/sysext/rtehtmlarea/htmlarea/plugins/EditElement/edit-element.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2010-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id: acronym.js 8087 2010-07-04 20:18:10Z stan $
|
||
*/
|
||
HTMLArea.EditElement = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.EditElement = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '1.0',
|
||
version : '1.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/EditorMode/editor-mode.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2009-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2009-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.EditorMode = HTMLArea.Plugin.extend({
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.EditorMode = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin : function (editor) {
|
||
configurePlugin: function (editor) {
|
||
/*
|
||
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : "2.0",
|
||
developer : "Stanislas Rolland",
|
||
developerUrl : "http://www.sjbr.ca/",
|
||
copyrightOwner : "Stanislas Rolland",
|
||
sponsor : "SJBR",
|
||
sponsorUrl : "http://www.sjbr.ca/",
|
||
license : "GPL"
|
||
version : '2.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
||
sponsor : 'SJBR',
|
||
sponsorUrl : 'http://www.sjbr.ca/',
|
||
license : 'GPL'
|
||
};
|
||
this.registerPluginInformation(pluginInformation);
|
||
/*
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/FindReplace/find-replace.js (copie de travail) | ||
---|---|---|
* Copyright notice
|
||
*
|
||
* (c) 2004 Cau guanabara <caugb@ibest.com.br>
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.FindReplace = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.FindReplace = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.0',
|
||
version : '2.1',
|
||
developer : 'Cau Guanabara & Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca',
|
||
copyrightOwner : 'Cau Guanabara & Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/inline-elements.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
/*
|
||
* Creation of the class of InlineElements plugins
|
||
*/
|
||
HTMLArea.InlineElements = HTMLArea.Plugin.extend({
|
||
HTMLArea.InlineElements = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* Let the base class do some initialization work
|
||
*/
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
|
||
/*
|
||
* This function gets called by the base constructor
|
||
*/
|
||
configurePlugin : function (editor) {
|
||
configurePlugin: function (editor) {
|
||
// Setting the array of allowed attributes on inline elements
|
||
if (this.editor.plugins.TextStyle && this.editor.plugins.TextStyle.instance) {
|
||
this.allowedAttributes = this.editor.plugins.TextStyle.instance.allowedAttributes;
|
||
... | ... | |
if (this.editorConfiguration.buttons.textstyle) {
|
||
this.tags = this.editorConfiguration.buttons.textstyle.tags;
|
||
}
|
||
|
||
/*
|
||
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : "2.0",
|
||
developer : "Stanislas Rolland",
|
||
developerUrl : "http://www.sjbr.ca/",
|
||
copyrightOwner : "Stanislas Rolland",
|
||
sponsor : this.localize("Technische Universitat Ilmenau"),
|
||
sponsorUrl : "http://www.tu-ilmenau.de/",
|
||
license : "GPL"
|
||
version : '2.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
||
sponsor : this.localize('Technische Universitat Ilmenau'),
|
||
sponsorUrl : 'http://www.tu-ilmenau.de/',
|
||
license : 'GPL'
|
||
};
|
||
this.registerPluginInformation(pluginInformation);
|
||
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js (copie de travail) | ||
---|---|---|
* Copyright notice
|
||
*
|
||
* (c) 2004 Ki Master George <kimastergeorge@gmail.com>
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.InsertSmiley = HTMLArea.Plugin.extend({
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.InsertSmiley = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.0',
|
||
version : '2.1',
|
||
developer : 'Ki Master George & Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Ki Master George & Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.Language = HTMLArea.Plugin.extend({
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.Language = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin : function (editor) {
|
||
configurePlugin: function (editor) {
|
||
/*
|
||
* Setting up some properties from PageTSConfig
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.0',
|
||
version : '2.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/PlainText/plain-text.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id: plain-text.js 8945 2010-10-04 03:00:03Z stan $
|
||
*/
|
||
HTMLArea.PlainText = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.PlainText = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '1.0',
|
||
version : '1.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/QuickTag/quick-tag.js (copie de travail) | ||
---|---|---|
* Copyright notice
|
||
*
|
||
* (c) 2004 Cau guanabara <caugb@ibest.com.br>
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.QuickTag = HTMLArea.Plugin.extend({
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.QuickTag = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.1',
|
||
version : '2.2',
|
||
developer : 'Cau Guanabara & Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca',
|
||
copyrightOwner : 'Cau Guanabara & Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/RemoveFormat/remove-format.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.RemoveFormat = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.RemoveFormat = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.1',
|
||
version : '2.2',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectFont/select-font.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.SelectFont = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.SelectFont = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.0',
|
||
version : '2.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-checker.js (copie de travail) | ||
---|---|---|
* Copyright notice
|
||
*
|
||
* (c) 2003 dynarch.com. Authored by Mihai Bazon, sponsored by www.americanbible.org.
|
||
* (c) 2004-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2004-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.SpellChecker = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.SpellChecker = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '3.0',
|
||
version : '3.1',
|
||
developer : 'Mihai Bazon & Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Mihai Bazon & Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js (copie de travail) | ||
---|---|---|
*
|
||
* (c) 2002 interactivetools.com, inc. Authored by Mihai Bazon, sponsored by http://www.bloki.com.
|
||
* (c) 2005 Xinha, http://xinha.gogo.co.nz/ for the original toggle borders function.
|
||
* (c) 2004-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2004-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.TableOperations = HTMLArea.Plugin.extend({
|
||
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
|
||
HTMLArea.TableOperations = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin : function (editor) {
|
||
configurePlugin: function (editor) {
|
||
|
||
this.classesUrl = this.editorConfiguration.classesUrl;
|
||
this.buttonsConfiguration = this.editorConfiguration.buttons;
|
||
... | ... | |
}
|
||
this.tableParts = ["tfoot", "thead", "tbody"];
|
||
this.convertAlignment = { "not set" : "none", "left" : "JustifyLeft", "center" : "JustifyCenter", "right" : "JustifyRight", "justify" : "JustifyFull" };
|
||
|
||
/*
|
||
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : "5.1",
|
||
developer : "Mihai Bazon & Stanislas Rolland",
|
||
developerUrl : "http://www.sjbr.ca/",
|
||
copyrightOwner : "Mihai Bazon & Stanislas Rolland",
|
||
sponsor : this.localize("Technische Universitat Ilmenau") + " & Zapatec Inc.",
|
||
sponsorUrl : "http://www.tu-ilmenau.de/",
|
||
license : "GPL"
|
||
version : '5.2',
|
||
developer : 'Mihai Bazon & Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Mihai Bazon & Stanislas Rolland',
|
||
sponsor : this.localize('Technische Universitat Ilmenau') + ' & Zapatec Inc.',
|
||
sponsorUrl : 'http://www.tu-ilmenau.de/',
|
||
license : 'GPL'
|
||
};
|
||
this.registerPluginInformation(pluginInformation);
|
||
/*
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/TextIndicator/text-indicator.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2010-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id: text-indicator.js 6539 2009-11-25 14:49:14Z stucki $
|
||
*/
|
||
HTMLArea.TextIndicator = HTMLArea.Plugin.extend({
|
||
|
||
constructor : function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
|
||
HTMLArea.TextIndicator = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : "1.0",
|
||
developer : "Stanislas Rolland",
|
||
developerUrl : "http://www.sjbr.ca/",
|
||
copyrightOwner : "Stanislas Rolland",
|
||
sponsor : "SJBR",
|
||
sponsorUrl : "http://www.sjbr.ca/",
|
||
license : "GPL"
|
||
version : '1.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
||
sponsor : 'SJBR',
|
||
sponsorUrl : 'http://www.sjbr.ca/',
|
||
license : 'GPL'
|
||
};
|
||
this.registerPluginInformation(pluginInformation);
|
||
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/TextStyle/text-style.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
/*
|
||
* Creation of the class of TextStyle plugins
|
||
*/
|
||
HTMLArea.TextStyle = HTMLArea.Plugin.extend({
|
||
HTMLArea.TextStyle = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* Let the base class do some initialization work
|
||
*/
|
||
constructor: function (editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin: function (editor) {
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.1',
|
||
version : '2.2',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2004-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2004-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.TYPO3Color = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.TYPO3Color = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '4.1',
|
||
version : '4.2',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3HtmlParser/typo3html-parser.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.TYPO3HtmlParser = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.TYPO3HtmlParser = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin: function(editor) {
|
||
configurePlugin: function (editor) {
|
||
this.pageTSConfiguration = this.editorConfiguration.buttons.cleanword;
|
||
this.parseHtmlModulePath = this.pageTSConfiguration.pathParseHtmlModule;
|
||
/*
|
||
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '1.8',
|
||
version : '1.9',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Image/typo3image.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.TYPO3Image = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.TYPO3Image = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin: function(editor) {
|
||
configurePlugin: function (editor) {
|
||
this.pageTSConfiguration = this.editorConfiguration.buttons.image;
|
||
this.imageModulePath = this.pageTSConfiguration.pathImageModule;
|
||
/*
|
||
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.1',
|
||
version : '2.2',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.TYPO3Link = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
configurePlugin: function(editor) {
|
||
configurePlugin: function (editor) {
|
||
this.pageTSConfiguration = this.editorConfiguration.buttons.link;
|
||
this.modulePath = this.pageTSConfiguration.pathLinkModule;
|
||
this.classesAnchorUrl = this.pageTSConfiguration.classesAnchorUrl;
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.1',
|
||
version : '2.2',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/UndoRedo/undo-redo.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.UndoRedo = HTMLArea.Plugin.extend({
|
||
constructor: function (editor, pluginName) {
|
||
this.base(editor, pluginName);
|
||
},
|
||
HTMLArea.UndoRedo = Ext.extend(HTMLArea.Plugin, {
|
||
/*
|
||
* This function gets called by the class constructor
|
||
*/
|
||
... | ... | |
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.0',
|
||
version : '2.1',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca',
|
||
copyrightOwner : 'Stanislas Rolland',
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/UserElements/user-elements.js (copie de travail) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
... | ... | |
*
|
||
* TYPO3 SVN ID: $Id$
|
||
*/
|
||
HTMLArea.UserElements = HTMLArea.Plugin.extend({
|
||
constructor: function(editor, pluginName) {
|
||
this.base(editor, pluginName);
|