WYSIWYG editor

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

WYSIWYG editor

Postby Otto » Fri Mar 26, 2021 9:17 am

Hello friends,
TinyMCE is working fine for me now.
I can insert pictures, source code and text from the clipboard and postajax.prg stores the images automatically into different files. Inside the document, I have only links.

I read with AP_PostPairs() then extract the lines
and search for '<img src="data:image/'.
If found I find an image I convert the data with Blob2Image() and save the image into an own file.

Best regards,
Otto

Image

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: WYSIWYG editor

Postby Otto » Sun May 09, 2021 7:57 am

Hello friends,

Now I start using my "TinyMCE - WYSIWYG HTML Text Editor" mod harbour implementation for documenting our functions.
I start with the function DBF2Hash.
How to pass data from a DBF file to HTML/JS
Best regards,
Otto

https://winhotel.space/formular/dbf2hashdoc.html

LIVE-sample:

whole database https://winhotel.space/formular/index.prg

single record https://winhotel.space/formular/index.prg?recnr=100

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 14 guests