Focus issue when using tinymce for text area

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

fronsky
Ebase User
Posts: 86
Joined: Thu Mar 08, 2018 2:52 pm

Focus issue when using tinymce for text area

#1

Postby fronsky » Wed Aug 15, 2018 10:53 am

I configured tinymce according the help of this forum (viewtopic.php?f=4&t=1467)

This works ok, but I have a focus issue in the situation having on the same page a number of fields on top (including the text area with tinymce support) and under these fields a table.

When I insert a new row in the table, the focus moves to the top text field above the table and not to a field in the new row, even if I use requestfocus. If I remove the tinymce event it's ok.

How can I resolve this?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

Re: Focus issue when using tinymce for text area

#2

Postby Jon » Thu Aug 16, 2018 2:48 pm

Have you tried the tinymce auto-focus option? e.g.
auto-focus: false
0 x

fronsky
Ebase User
Posts: 86
Joined: Thu Mar 08, 2018 2:52 pm

Re: Focus issue when using tinymce for text area

#3

Postby fronsky » Thu Aug 16, 2018 3:13 pm

:D Thanks. That's it.
0 x


Who is online

Users browsing this forum: No registered users and 7 guests