en:why
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
en:why [2018/07/30 11:23] – Andreas Gohr | en:why [2018/07/30 11:24] – Andreas Gohr | ||
---|---|---|---|
Line 1: | Line 1: | ||
======= Why a new WYSIWYG plugin? ====== | ======= Why a new WYSIWYG plugin? ====== | ||
- | A [https:// | + | There are a [[https:// |
To understand why the approach of CKGEdit and similar plugins is not ideal for wikis, we need to take a deeper look at the details... | To understand why the approach of CKGEdit and similar plugins is not ideal for wikis, we need to take a deeper look at the details... | ||
Line 16: | Line 16: | ||
)). This means there has to be a conversion back and forth between HTML and Wiki syntax. From Wiki syntax to HTML this is simple, the other direction is more complicated: | )). This means there has to be a conversion back and forth between HTML and Wiki syntax. From Wiki syntax to HTML this is simple, the other direction is more complicated: | ||
- | {{ : | + | {{ : |
The traditional approach quickly reaches its limits: what if I insert a red text (for example, using Copy' | The traditional approach quickly reaches its limits: what if I insert a red text (for example, using Copy' | ||
Line 22: | Line 22: | ||
This means that the editor itself has to know exactly what the Wiki system behind it can do in order to limit the input accordingly. | This means that the editor itself has to know exactly what the Wiki system behind it can do in order to limit the input accordingly. | ||
- | This is exactly the approach the [https:// | + | This is exactly the approach the [[https:// |
The editor converts the document to HTML for display and returns user input back to the document. When saving, the abstract document is converted back into syntax - since the schema already ensures that the document is well-formed, | The editor converts the document to HTML for display and returns user input back to the document. When saving, the abstract document is converted back into syntax - since the schema already ensures that the document is well-formed, |
en/why.txt · Last modified: 2018/07/30 11:25 by Andreas Gohr