Lazarus

Programming => Packages and Libraries => Topic started by: Jvan on June 16, 2021, 09:18:03 pm

Title: How to display HTML5 and CSS3 content in Lazarus?
Post by: Jvan on June 16, 2021, 09:18:03 pm
And can TMemoRich be used to create HTML5 and CSS3 content? I would like to save it in a memo field in my database.
Title: Re: How to display HTML5 and CSS3 content in Lazarus?
Post by: Edson on June 17, 2021, 08:05:57 pm
Do you refer to edit text in HTML5 and CSS3 format or view a HTML page from HTML5 and CSS3?

To edit HTML5 or CSS3 or any syntax, the best is using Synedit (like Lazarus do) or ATSynedit.
Title: Re: How to display HTML5 and CSS3 content in Lazarus?
Post by: Leledumbo on June 17, 2021, 09:11:53 pm
If what you mean is saving formatted TRichMemo concent as HTML5 and CSS3 AFAIK no, TRichMemo uses the so called Rich Text Format, which is a distinct format from HTML5 and CSS3. In theory of course a formatter for HTML5 and CSS3 can be made based on the same internal tree or whatever data structure that TRichMemo uses.
Title: Re: How to display HTML5 and CSS3 content in Lazarus?
Post by: Jvan on June 18, 2021, 01:15:41 am
A WYSIWYG HTML Editor is what I'm looking for.
Title: Re: How to display HTML5 and CSS3 content in Lazarus?
Post by: Soner on June 18, 2021, 08:43:58 am
Use Chromium-Browser from CEF4Delphi (https://github.com/salvadordf/CEF4Delphi) and set the web page in edit modus or load ckeditor or similar in a frame.
Title: Re: How to display HTML5 and CSS3 content in Lazarus?
Post by: Jurassic Pork on June 18, 2021, 09:30:21 am
hello,
on which operating system do you want to run your project ?
Friendly, J.P
Title: Re: How to display HTML5 and CSS3 content in Lazarus?
Post by: egsuh on June 18, 2021, 11:51:56 am
Quote
A WYSIWYG HTML Editor is what I'm looking for.

You should use MS-Word etc. for that purpose. HTML editor shows all the html tags as are.
TinyPortal © 2005-2018