Revision 2000,
915 bytes
checked in by amuller, 15 years ago
(diff) |
Ticket #597 - Implementação do módulo gerenciador de arquivos
|
Line | |
---|
1 | /*
|
---|
2 | Copyright (c) 2003-2009, 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 |
|
---|
25 | CKEDITOR.htmlParser.cdata.prototype =
|
---|
26 | {
|
---|
27 | /**
|
---|
28 | * CDATA has the same type as {@link CKEDITOR.htmlParser.text} This is
|
---|
29 | * a constant value set to {@link CKEDITOR.NODE_TEXT}.
|
---|
30 | * @type Number
|
---|
31 | * @example
|
---|
32 | */
|
---|
33 | type : CKEDITOR.NODE_TEXT,
|
---|
34 |
|
---|
35 | /**
|
---|
36 | * Writes write the CDATA with no special manipulations.
|
---|
37 | * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
|
---|
38 | */
|
---|
39 | writeHtml : function( writer )
|
---|
40 | {
|
---|
41 | writer.write( this.value );
|
---|
42 | }
|
---|
43 | };
|
---|
44 | })();
|
---|
Note: See
TracBrowser
for help on using the repository browser.