document.DesignMode = On

384 views
Skip to first unread message

lcsouza

unread,
Feb 11, 2011, 2:02:55 PM2/11/11
to delphichromiumembedded
Hello All,

Someone could tell me how to make a html editor using
chromiumembedded?

I tried using the Gecko / Mozilla, but delphi´s component is not yet
ready to work with htmldocuments objects in DesignMode = ON.


Henri Gourvest

unread,
Feb 13, 2011, 4:44:23 PM2/13/11
to delphichrom...@googlegroups.com
cef is not designed for html editing.
But there is good html editors like ckeditor.

henri

2011/2/11 lcsouza <lcs...@datatech.com.br>



--
Henri Gourvest

tc7

unread,
Feb 28, 2011, 11:52:26 AM2/28/11
to delphichromiumembedded
Hello Icsouza,

You can certainly use the following:
<html>
<body>
start<br><hr>
<div contenteditable="true">
edit text here, use ctrl+B, ctrl+U, etc, etc
</div>
<hr>end<br>
</body>
</html>

I don't know how extensive the editing support is.

Alternatively you can use tinymce, ckeditor, etc) within
chromiumembedded web pages.
Tom

tc7

unread,
Mar 4, 2011, 11:01:27 AM3/4/11
to delphichromiumembedded
In addition, it seems Evernote (6-7million users of their windows
version) uses chrome for its internal browser and editor.
Tom

On Feb 11, 7:02 pm, lcsouza <lcso...@datatech.com.br> wrote:

lcsouza

unread,
Mar 5, 2011, 11:21:14 AM3/5/11
to delphichromiumembedded

I need to get the edited text in Delphi to save it in the database/
file, with web editors I can not do it. It is possible to do this?
> > ready to work with htmldocuments objects in DesignMode = ON.- Ocultar texto das mensagens anteriores -
>
> - Mostrar texto das mensagens anteriores -

tc7

unread,
Mar 5, 2011, 1:23:29 PM3/5/11
to delphichromiumembedded
> with web editors I can not do it.

You can Icsouza, this article shows a technique to do what you need
http://www.delphidabbler.com/articles?article=21

BTW I've used it to do precisely that - although with IE & tinymce,
I don't know how easy or hard it is within chromium as not had time to
look into it native support.
Tom

Ammar Hamidouche

unread,
Mar 7, 2011, 5:22:38 AM3/7/11
to delphichromiumembedded
hello
but I want to know es that can use this component to an html editor
effective?.
otherwise tinymce, ckeditor, are html editor which are not or
component for delphi
thank you,

On 28 fév, 17:52, tc7 <tomconl...@gmail.com> wrote:
> Bonjour Icsouza,
>
> Vous pouvez certainement utiliser le texte suivant:<html><body>début <br> <hr>contenteditable="true"> <divmodifier le texte ici, utiliser Ctrl + B, ctrl + U, etc, etc</ Div>fin <hr> <br></ Body></ Html>
>
> Je ne sais pas l'ampleur de l'appui d'édition est.
>
> Sinon, vous pouvez utiliser tinymce, ckeditor, etc) au sein dechromiumembedded pages web.Tom
>
> Le 11 février, 19 heures 02, lcsouza <LCSO...datatech.com.br @> a écrit:
>
>
>
>
>
>
>
> > Bonjour à tous,
>
> >> Quelqu'un pourrait me dire comment faire un éditeur HTML à l'aide> Chromiumembedded?
>
> > J'ai essayé d'utiliser le Gecko / Mozilla, mais le composant de Delphi n'est pas encore> Prêt à travailler avec des objets htmldocuments dans designMode = ON.

lcsouza

unread,
Mar 12, 2011, 10:05:26 PM3/12/11
to delphichromiumembedded
I saw the link and it uses MSHTML, IHTMLDocument in Delphi.
My intention is to use my editor made ​​in Delphi in Wine/Linux, but
when I use MSHTML or IHTMLDocument2 not work in Wine, because they are
part of the Internet Explorer.(MS IE6,7,8)

I need an html editor that does not use native operating system
libraries from windows.

I've been testing some conversion (HMTL -> RTF) and using a rich-text
editor and doing again the conversion ( RTF -> HTML), but RTF editor
of Wine is not good and it works differently than Windows.



On 5 mar, 15:23, tc7 <tomconl...@gmail.com> wrote:
> > with web editors I can not do it.
>
> You can Icsouza, this article shows a technique to do what you needhttp://www.delphidabbler.com/articles?article=21
> > > - Mostrar texto das mensagens anteriores -- Ocultar texto das mensagens anteriores -
Reply all
Reply to author
Forward
0 new messages