mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged 3.1 to HEAD
13275: updated web-client to use tinymce v3 13276: overlay display fix for when field has large content git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13585 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
34
source/web/scripts/tiny_mce/classes/ui/Separator.js
vendored
Executable file
34
source/web/scripts/tiny_mce/classes/ui/Separator.js
vendored
Executable file
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* $Id: Separator.js 756 2008-03-29 19:53:48Z spocke $
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright <20> 2004-2008, Moxiecode Systems AB, All rights reserved.
|
||||
*/
|
||||
|
||||
/**#@+
|
||||
* @class This class is used to create vertical separator between other controls.
|
||||
* @member tinymce.ui.Separator
|
||||
* @base tinymce.ui.Control
|
||||
*/
|
||||
tinymce.create('tinymce.ui.Separator:tinymce.ui.Control', {
|
||||
Separator : function(id, s) {
|
||||
this.parent(id, s);
|
||||
this.classPrefix = 'mceSeparator';
|
||||
},
|
||||
|
||||
/**#@+
|
||||
* @method
|
||||
*/
|
||||
|
||||
/**
|
||||
* Renders the separator as a HTML string. This method is much faster than using the DOM and when
|
||||
* creating a whole toolbar with buttons it does make a lot of difference.
|
||||
*
|
||||
* @return {String} HTML for the separator control element.
|
||||
*/
|
||||
renderHTML : function() {
|
||||
return tinymce.DOM.createHTML('span', {'class' : this.classPrefix});
|
||||
}
|
||||
|
||||
/**#@-*/
|
||||
});
|
Reference in New Issue
Block a user