Revision 2862,
913 bytes
checked in by rodsouza, 14 years ago
(diff) |
Ticket #663 - Atualizando e centralizando o CKEditor (v. 3.2.1)
|
Rev | Line | |
---|
[2862] | 1 | /*
|
---|
| 2 | Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
---|
| 3 | For licensing, see LICENSE.html or http://ckeditor.com/license
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | (function()
|
---|
| 7 | {
|
---|
| 8 |
|
---|
| 9 | /**
|
---|
| 10 | * A lightweight representation of HTML text.
|
---|
| 11 | * @constructor
|
---|
| 12 | * @example
|
---|
| 13 | */
|
---|
| 14 | CKEDITOR.htmlParser.cdata = function( value )
|
---|
| 15 | {
|
---|
| 16 | /**
|
---|
| 17 | * The CDATA value.
|
---|
| 18 | * @type String
|
---|
| 19 | * @example
|
---|
| 20 | */
|
---|
| 21 | this.value = value;
|
---|
| 22 | };
|
---|
| 23 |
|
---|
| 24 | CKEDITOR.htmlParser.cdata.prototype =
|
---|
| 25 | {
|
---|
| 26 | /**
|
---|
| 27 | * CDATA has the same type as {@link CKEDITOR.htmlParser.text} This is
|
---|
| 28 | * a constant value set to {@link CKEDITOR.NODE_TEXT}.
|
---|
| 29 | * @type Number
|
---|
| 30 | * @example
|
---|
| 31 | */
|
---|
| 32 | type : CKEDITOR.NODE_TEXT,
|
---|
| 33 |
|
---|
| 34 | /**
|
---|
| 35 | * Writes write the CDATA with no special manipulations.
|
---|
| 36 | * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
|
---|
| 37 | */
|
---|
| 38 | writeHtml : function( writer )
|
---|
| 39 | {
|
---|
| 40 | writer.write( this.value );
|
---|
| 41 | }
|
---|
| 42 | };
|
---|
| 43 | })();
|
---|
Note: See
TracBrowser
for help on using the repository browser.