NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
TinyMCE edited text not saving
« previous
next »
Print
Pages: [
1
]
Author
Topic: TinyMCE edited text not saving (Read 6743 times)
gavinwebb
Newbie
Posts: 40
TinyMCE edited text not saving
«
on:
February 01, 2012, 12:10:57 AM »
I've switched on TinyMCE in webserver scripts. I have a text field on a webform where I have clicked "Allow HTML" and I have specified the TinyMCE editor. At run time I get all the editing controls and I can edit a nice document as expected. However, it doesn't save when I save the form. What am I doing wrong. My dictionary field is a large CSTRING.
Logged
gavinwebb
Newbie
Posts: 40
Re: TinyMCE edited text not saving
«
Reply #1 on:
February 01, 2012, 12:29:45 AM »
Interestingly, after a second compile and run my login form was not working. After much checking and not figuring out why (validation routines not being called), I removed TinyMCE and it all worked fine again.
Logged
Bruce
Global Moderator
Hero Member
Posts: 11263
Re: TinyMCE edited text not saving
«
Reply #2 on:
February 01, 2012, 03:46:04 AM »
put the TinyMCE back, and if you have a problem force a regenerate of the WebServer procedure (typically by bumping any session, like changing the session timeout by a minute etc.)
cheers
Bruce
Logged
gavinwebb
Newbie
Posts: 40
Re: TinyMCE edited text not saving
«
Reply #3 on:
February 03, 2012, 10:18:19 AM »
Okay, I've done that. My login is working okay now at least. However the text in the XHTML control does not save. I can edit it happily and apply the TinyMCE formatting, but on Save nothing saves. What data type should I be using for XHTML?
Logged
gavinwebb
Newbie
Posts: 40
Re: TinyMCE edited text not saving
«
Reply #4 on:
February 05, 2012, 02:34:16 AM »
I've looked at example 36 and I can see it's working there. I have made sure my DCT field is also a memo 1000. I have compared all my settings in webserver and on the form and field. It all looks the same and yet my text will not save in the control. If I tell it not to use TinyMCE on the field then it works fine. So must be something to do with TinyMCE. I have forced regen of webserver, have removed and replaced TinyMCE on webserver - but no luck. I'm stumped!
Logged
gavinwebb
Newbie
Posts: 40
Re: TinyMCE edited text not saving
«
Reply #5 on:
February 05, 2012, 02:38:51 AM »
aha!!!
Figured it out!
It now works fine.......but not if the form the MCE control is on is a popup form.
Seems like using popup forms has some issues - refer one of my other posts where in popup mode a call to a form in update mode doesn't retain the primary unique ID.
Bruce, am I missing something?
Gavin
Logged
gavinwebb
Newbie
Posts: 40
Re: TinyMCE edited text not saving
«
Reply #6 on:
February 13, 2012, 10:23:08 AM »
Bruce, any thoughts on this. I can't use popup form here where I would really like to.
Thanks
Gavin
Logged
Bruce
Global Moderator
Hero Member
Posts: 11263
Re: TinyMCE edited text not saving
«
Reply #7 on:
February 14, 2012, 07:00:34 AM »
fixed in 6.19
Logged
LuisMarcantoni
Newbie
Posts: 13
Re: TinyMCE edited text not saving
«
Reply #8 on:
August 13, 2012, 04:04:40 AM »
Hi Bruce
TinyMCE not working in Forms popup.
Currently using NT 6.39
As you can fix this?
Regards
Luis
Logged
Bruce
Global Moderator
Hero Member
Posts: 11263
Re: TinyMCE edited text not saving
«
Reply #9 on:
August 14, 2012, 12:25:22 AM »
seems to be working here in the shipping. And it seems to be working in the example you posted me.
So I'm not sure what to do next to duplicate the effect.
cheers
Bruce
Logged
LuisMarcantoni
Newbie
Posts: 13
Re: TinyMCE edited text not saving
«
Reply #10 on:
August 14, 2012, 03:16:26 AM »
Hi Bruce
I sent email with the error again reproduced.
It is not always the same sequence.
Regard
Luis
Logged
Bruce
Global Moderator
Hero Member
Posts: 11263
Re: TinyMCE edited text not saving
«
Reply #11 on:
August 14, 2012, 06:45:58 AM »
thanks for the movie. you're right the effect is somewhat random, so some timing issues are in play here.
I'm investigating further.
Logged
Bruce
Global Moderator
Hero Member
Posts: 11263
Re: TinyMCE edited text not saving
«
Reply #12 on:
August 16, 2012, 07:18:27 AM »
I think it's fixed in 6.40, but please test when that's up.
cheers
Bruce
Logged
LuisMarcantoni
Newbie
Posts: 13
Re: TinyMCE edited text not saving
«
Reply #13 on:
August 16, 2012, 02:06:26 PM »
Hi Bruce
I hope upload the 6.40 version to test this?
Thanks
Regards
Luis
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
TinyMCE edited text not saving