[Gambas-user] wiki edit issue
Bruce Steers
bsteers4 at gmail.com
Sun Jun 12 11:11:12 CEST 2022
On Sat, 11 Jun 2022 at 18:06, Benoit Minisini <
benoit.minisini at gambas-basic.org> wrote:
> Le 11/06/2022 à 14:04, Bruce Steers a écrit :
> > I just tried to edit
> > http://gambaswiki.org/edit/comp/gb.qt4.ext/textedit/insert
> > <http://gambaswiki.org/edit/comp/gb.qt4.ext/textedit/insert>
> >
> > To add something to say that TextEdit.Insert() will only insert plain
> > text and not process html codes and to use TextEdit.RichText instead.
> >
> > The page shows a default text. if i click edit it shows my edits, if i
> > click preview it shows the edited page, then click save and it goes back
> > to the original text ?
> >
> > Even after clearing web cache
> >
> > Respects
> > BruceS
> >
> >
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
> It's CloudFlare. You will see your changes in 24 hours. It's practical,
> as it gives you some time, if you make some errors, to fix them, before
> being visible.
>
> Regards,
>
> --
> Benoît Minisini
>
Aaah i see, thank you.
I just edited it again as i discovered the TextEdit.Selection.RichText
alternative.
Finding that took a little research though,
An InsertRichText() method would be much more obvious.
In fact it was such a simple edit i've submitted a merge request adding
TextEdit.InsertRichText() method to TextEdit.cpp
I've tested it, it works a treat :)
Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220612/535c11d6/attachment.htm>
More information about the User
mailing list