|
|
@@ -58,6 +58,7 @@ In your HTTP server, you can now read the editor data from the `content` variabl
|
|
|
If you need to get the actual data from CKEditor at any moment using JavaScript, use the {@link module:editor-classic/classiceditor~ClassicEditor#getData `editor.getData()`} method as described in the next section.
|
|
|
</info-box>
|
|
|
|
|
|
+<!-- Hidden due to https://github.com/cksource/umberto/issues/558
|
|
|
<info-box>
|
|
|
When you print the data from the database to a `<textarea>` element in an HTML page, then you need to encode them correctly. For instance, if you use PHP then a minimal solution would look like this:
|
|
|
|
|
|
@@ -81,8 +82,9 @@ In your HTTP server, you can now read the editor data from the `content` variabl
|
|
|
<textarea><p>This is some sample content.</p></textarea>
|
|
|
```
|
|
|
|
|
|
- While a simple content like mentioned above does not itself require to be encoded, encoding the data will prevent losing text like "<" or "<img>".
|
|
|
+ While a simple content like mentioned above does not itself require to be encoded, encoding the data will prevent losing text like `<` or `<img>`.
|
|
|
</info-box>
|
|
|
+-->
|
|
|
|
|
|
## Manually retrieving the data
|
|
|
|