On 26 July 2015 at 13:38, Ian C <[email protected]> wrote: > I've just been poking around for a few minutes to see what is out > there for HTML editing. > > There seem to be quite a few. Instead of creating one maybe we just > piggy back on one or more of the existing editors and maybe supply a > plugin. > Eg http://ckeditor.com/ ? > That is an idea, but we need to find one, that has a license we can use (same goes for a library)
http://www.apache.org/legal/resolved.html I am also not sure a standard editor would work well for us, we need e.g. to present styles and render according to the styles. Most editors are simple html editors. > > I'm not entirely clear how an editor would fit into our system. > If for instance we want to edit an ODF document then behind the scenes > it will call dfconvert to create html. > The editor will then render the HTML and a user can add/edit/delete > sections as required. > Then we have a saveAs so they can write it back to ODF (which since it > came from ODF I assume would be the default) > or can save into another format? > > Then behind the scenes again it will call dfconvert put to update the > original document? Or dfcreate if saving to a different format? > Yes that is about it. - open a file in any supported format - edit the file (remember it is a word processor, not a simple editor) - Update the original document or save in another format. > > So what I am suggesting is if we can find one we can just make it use our > tools? > If we can find a word processor (editor) then I am all for it. > > Are there any other Apache projects with HTML editors? I saw Lenya pop > up but that doesn't look like a fit. > We do not want to edit the HTML as such, we want to have an editor which format is based on html but we edit as e.g. with word. rgds jan i. > > > On Sun, Jul 26, 2015 at 6:16 PM, jan i <[email protected]> wrote: > > Hi > > > > I am currently updating the cmake files to cover e.g. the editor and see > > some problems. > > > > I know we decided to use Qt, but I would like to take the discussion > again. > > > > If we use Qt the editor will never be a released product, it will remain > an > > optional product, and > > I think we will want to position the editor as a main feature of > corinthia. > > > > There is an alternative to Qt, which is a little more work but not much. > If > > we look at how peter > > currently uses Qtwebkit it is pretty simple and static. > > > > Webkit is builtin on OS-X, therefore we can use it, without thinking too > > long about the licenses > > (we do not ask people to download extra libraries, so it is at the same > > level that we also depend on windows sdk-api). > > > > We cannot use webkit on windows because it is LGPL (same as Qt), but we > can > > use mshtml or IWebBrowser2. My idea is to make a simple set of wrapper > > functions, so that > > the editor as such does not see the difference. That would allow us > > to have the editor as a main feature. > > > > thoughts ? > > > > rgds > > jan i. > > > > -- > Cheers, > > Ian C >
