Last change
on this file since 239 was 239, checked in by luc, 9 years ago |
Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.
|
-
Property svn:executable
set to
*
|
File size:
913 bytes
|
Rev | Line | |
---|
[239] | 1 | /*
|
---|
| 2 | Copyright (c) 2003-2011, 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.