Quote:
Originally Posted by kovidgoyal
@st_albert: I have no experience with writing editors, so I have no idea what would or would not be suitable. ck_editor looks nice for a WYSIWYG editor component, though probably not for the code editor component. The most likely issues would be whether it works with Qt WebKit and syncing from wysiwyg to code editor positions and perhaps markup validity.
|
Again, I am typing more than I know. But if I recall correctly the version used in the beta for sigil 0.6.0 had both a WYSiWIG window (don't know if it was editable at all) and a "code view" which was editable if you made certain modifications to the config file, as suggested by elibrarian. I tried his suggestion, and it worked. Trouble was, again IIRC, that those code edits went nowhere since Sigil wasn't set up to accept them. I've no idea what the current state of development of ckeditor is, though its website looks promising. I'm only assuming that it would allow one to edit in source code mode, rather than WYSIWYG. If it can't, then fuggetaboutit as far as I'm concerned.
Oh, and the original reason for including ckedit was (again, IIRC) to provide cursor syncronization between the code view and the book (WYSIWYG) views. So again, I am ASSuming that that would be handled within ckedit. Otherwise, see: fugettaboutit.