future of Rich Text Editor maybe time to start with WEBVIEW

future of Rich Text Editor maybe time to start with WEBVIEW

Postby Otto » Mon Jan 22, 2024 1:46 pm

Hello friends,

Shouldn't we consider developing an alternative to RichEdit in parallel using WebView, e.g., with the TinyMCE editor?
I'm just thinking to be prepared for the future. That won't happen overnight.

Factors that could influence the future of Rich Text Editors.
There is a rising demand for more user-friendly and flexible editors that work across various platforms and devices. Developers might continue to add features such as drag-and-drop editing, enhanced multimedia support, and better integration with cloud services.

The integration of real-time collaboration features similar to Google Docs could be a crucial component of future Rich Text Editors. This would allow users to collaboratively and synchronously edit documents.

Optimizing Rich Text Editors for mobile devices is an important trend, as more users work on mobile.

TinyMCE:
A lightweight yet powerful WYSIWYG editor that can be easily integrated into web applications. TinyMCE is customizable and offers a variety of plugins to expand its functionality.


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

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Otto » Tue Jan 23, 2024 5:34 pm

Insert tables at runtime into the editor with Tinymce and WEBVIEW2

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

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Otto » Wed Jan 24, 2024 4:14 pm

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

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Otto » Wed Jan 24, 2024 4:24 pm

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

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Rick Lipkin » Wed Jan 24, 2024 7:53 pm

Otto

Forgive me .. in our Computer shop we manually remove or Delete the Edge Browser and with the manual removal of the files Webview gets removed as well .. I despise Microsoft using the free Google chrome code and embelishing it to create Edge .. and just because Microsoft makes Windows, they think they can push another "chromium" browser that basically imports all CHrome bookmarks and passwords without any permission from the user ... "just because Microsoft can"

Now, with that said .. I do see advantages of using the webview runtime and it can be easily downloaded manually without the Edge Browser .. the only advantage of Microsoft installing Edge on all its operating systems is you do not have to manually download and install webview ... and perhaps that is good for large organizations that can leverage webview without having to use a GPO to copy and install webview to all its client computers ..

Just my 2 cents opinion

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Otto » Wed Jan 24, 2024 8:46 pm

Hello Rick,
You show how differently users can evaluate the integration of software and operating systems.

Some users might share your concerns, while others might appreciate the convenience and efficiency of Microsoft solutions.

I don't know any computer stores that even unpack the devices anymore. Nor do I know any service technicians who would bother to do this work and uninstall things.

Regarding Microsoft, I think you need to revise your opinion, firstly their involvement in ChatGPT and now Copilot. It's a whole new situation.

Although Edge is integrated into Windows 11, users can still install and use other web browsers if they prefer.

However, uninstalling or removing Edge can lead to unexpected problems, as some system functions rely on Edge.
Therefore, it is generally recommended to leave Edge in the system, even if another browser is used as the default browser.

Best regards,
Otto

NB:
Currently, Microsoft is the most valuable company in the software sector in 2024. Microsoft has recently overtaken Apple as the most valuable company in the world.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby anserkk » Thu Jan 25, 2024 3:56 am

Dear Mr.Otto,

Excellent sample demonstrating how we can utilise the power of Webview using Fivewin and use the advancements happening in the world of web applications and how we could leverage that in our desktop applications. :)

Do you mind sharing the sample code here ? I believe it will be useful for many of us here to learn, understand and use this. The more available samples, the more the users get inclined to use it. :)

Regards

Anser
User avatar
anserkk
 
Posts: 1333
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Otto » Thu Jan 25, 2024 8:18 am

Dear Anser,

It's great to hear from you. I will send you the source code via private message.

Why privately?

It's difficult to deal with the fact that many here are just cherry-picking or immediately against everything.
Also, hardly anyone is willing to test something for someone else or even take a look at it. We have to come to terms with it.

What is undeniable, however, is that the reports and input screens with WEBVIEW look much more professional and nicer than the desktop versions.

I am convinced that if people repeatedly see the examples and the problems, like how difficult, if at all possible,
it is to achieve similar results with desktop tools, then the desire for WEBVIEW solutions will grow.

If someone asks, then I immediately send all my sources.

Please give my regards to everyone,
Otto

For example, I had the source code and videos in this posting:
viewtopic.php?f=46&t=43975&start=0&hilit=4laid

But unfortunately, there was not a single reaction and no downloads.
That is somewhat frustrating.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Detlef » Fri Jan 26, 2024 8:18 pm

Dear Otto,

I do understand your frustration very well.
But please, don't judge many members of this forum as cherry pickers.
We are all here to help each other.

And please, don't be blamed by Silvio. You know that he's highly inflammable if he gets answers which doesn't solve his problems but must read advertising about WebView.
( That doesn't mean I agree with Silvio's excited and sometimes offending messages. )

As you are now a specialist concerning WebView and AI you must consider that only very few members here could even grasp the meaning of your 'visions'. :wink:
And most of us are developing desktop applications since so many years. Those desktop apps are working excellent and do not need any WLAN nor internet.

But I think you are right... the time will come and your visions will succeed... more and more of us will have to learn about those new topics.

I tried myself to get knowledge about WebView.
But the webview.prg in the samples folder of FWH didn't even compile without errors.
So I kept in mind that this is work for future progress.

I would appreciate any tutorial about how to create a working example with MS WebView 2.
May be you could create one, Otto?
Or could you please, give me a tip how to get the FWH sample webview.prg working?

Kind regards,
Detlef
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Otto » Fri Jan 26, 2024 10:51 pm

Detlef, may I ask what kind of software you make? Do you have your own product, and what is your customer base?
I think it all depends on that.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Detlef » Fri Jan 26, 2024 11:34 pm

Otto wrote:Detlef, may I ask what software you make? Do you have your own product, and what is your customer base?
I think it all depends on that.
Best regards,
Otto

Dear Otto,
I'm a retired programmer who created all necessary programs for a company which still Is a producer/manufactor for musical instruments as well a distributor for musical goods worldwide.
I also created lots of webpages which php, MySQL, html and css.
Now, as I’m retired I still follow the discussion of this forum to not get an old outdated member.

For my wife I created shortly a software to manage her little enterprise.
Just for remaining curious and to keep my mind busy. 8)

Kind regards,
Detlef
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Detlef » Sat Jan 27, 2024 12:02 am

Hi Silvio,
sorry, but I didn’t call you a troll.
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Antonio Linares » Sat Jan 27, 2024 5:39 am

Dear Detlef,

> But the webview.prg in the samples folder of FWH didn't even compile without errors

What errors do you get ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Otto » Sat Jan 27, 2024 8:52 am

Thank you, Detlef.

If you're already developing websites, WEBVIEW should be perfect for you. You can directly apply your knowledge of creating screens.

It would be great if we could exchange our experiences here. There are so many little pitfalls, and it can be tedious to tackle them all on your own.
It would be much easier together.

I can't help but think of how often I stumble upon casesensitivity issues in JavaScript.

Wishing you a lovely Sunday.

Best regards,
Otto

Here's one of my Mod Harbour pages, all data comes from DBF files.
The admin page is also entirely created with mod harbour itself.

https://puon24.com


Image

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

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Postby Detlef » Sat Jan 27, 2024 4:42 pm

Antonio Linares wrote:Dear Detlef,

> But the webview.prg in the samples folder of FWH didn't even compile without errors

What errors do you get ?

Dear Antonio,
sorry for my mistake. I get linker errors not compiler errors.
I compiled TWebView without errors to it's obj file. Then I called buildx.bat to build webview.exe.
Here is what the linker is missing:
Code: Select all  Expand view  RUN
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_WEBVIEW_CREATE' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_NAVIGATE' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_SETHTML' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_RUN' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_EVAL' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_INIT' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_GETWINDOW' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_UNBIND' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_SETTITLE' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_SETSIZE' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_SETUSERAGENT' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_TERMINATE' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WV_SENDTOFWH' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_BIND' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_DESTROY' referenced from C:\ENTW\FWH22\SAMPLES\TWEBVIEW.OBJ


May be there is something I don't have with my FWH 22.10?

Kind regards,
Detlef
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 38 guests