[FX.php List] WYSIWYG Editor

Steve Winter steve at bluecrocodile.co.nz
Sun Nov 16 04:06:09 MST 2008


Hi David,

So it sounds like you're trying to have web users and FMP users see  
the same formatting... and to do this at present you've got a bunch of  
scripts which 'translate' html formatting to FMP formatting... is that  
correct...?

Are you by any stroke of good luck using FMP >= 8.5...? If so then I  
would suggest that you use the webViewer on the FMP end to display the  
content... that way the FMP users could view and edit the content in a  
webViewer field, using exactly the same FX/PHP content as users on the  
web...

That way, the actual data could be stored in a database field in HTML  
format, which no users ever actually see directly, they simply edit it  
either on the web in a web browser, or within FMP via the web viewer,  
using the same HTML/PHP/FX calls...

Hope this makes sense... (clearly if your client version of FMP is  
<8.5 none of this is possible)

Cheers
Steve



On 15 Nov 2008, at 22:28, David Walton wrote:

>         Can anyone recommend a relatively straightforward solution  
> for this?
>
>         I need a WYSIWYG editor to submit data from (any) web  
> browser to a web-enabled .fp7 database.  The database if fully FX  
> accessible/editable.
>
>         I want users to have the ability to submit bold, underline,  
> italics text.  Also, bullets.  (Spellcheck too -- but I have that  
> reasonably well handled with aspell.)
>
>         Formatted text may be entered via the web, submitted-to and  
> viewed/edited-in FMP, and called back to the web for further editing/ 
> resubmitting.
>
>         I have succeed at length in setting up two different systems  
> which accomplish this using different WYSIWYG editors.
>         - The first uses the DevEdit editor product.  I built a  
> series of PHP functions which decode the "editorized" html and  
> translate into FMP TextStyleAdd functions.
>         - The second uses the Cute editor product.  For this, I  
> built a series of FMP custom functions which do the same.
>
>         However, the system is unwieldy, complicated, and takes a  
> long time to re-produce.
>
>         I write to ask if anyone has any experience with this  
> situation.  I would welcome and would appreciate any advice.
>
> Thanks.
> DSW
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20081116/8c286454/attachment.html


More information about the FX.php_List mailing list