disabling WYSIWYG for text cell in a worksheet
Hello,
The html code produced by the WYSIWYG interface for text cells in notebook worksheet is ugly and sometimes not at all what you expect! As examples
- if you use several times bold/unbold then you get nested "<b></b>" in the HTML code
- there is no way to use the tags "<div> </div>" and "<span> </span>". It is impossible to defined styles at the beginning of the worksheet
- if you edit by hand the worksheet (after a click on edit), it can happen that the application erase what you did!
- ...
Is there an easy way to disable this WYSIWIG interface and get a simple textarea with raw html input?
The sort of things I would like to do is as in the following worksheet... (I know yet that the color are not very fancy).
Thanks, Vincent
Could you give an example(s) of the erasure? TinyMCE has settings that we *may* be able to adjust to give the desired behavior.
example1: write two text cells with no math cell in between... after a new edit, sometimes it becomes one cell sometimes it stays two.
example2: if you write at the top of your file "<style> background-color: green;</style>" and then edit a text cell at the top. Sometimes the style is pushed below sometimes it stays above!
Oups! there was something between the two " " which was some html style command... ask.sagemath.org hid them!
Two consecutive text cells always become one text cell when the notebook is saved and reloaded---the Sage file format is just that everything between input cells is a text cell. While editing and creating cells, you might still see two until you close the worksheet, though.