1
Help for ParamQuery Pro / SOLVED - Re: Use german umlauts in textarea
« on: October 12, 2015, 03:44:47 pm »
With the help of the character map, I also can paste in the umlauts in Windows 7 and 8.1. type="contenteditable" didn't change the behavior.
I tried some more thing: When I type them in Word or somewhere else and then copy and paste them into the textarea editor - this works, too. But: It's no solution for daily use - the users have to type the umlauts into the field like every other character, too...
Now, I found out a solution by trial and error. In my configuration (see first post) I had the line
the saveKey parameter produces the problems, if I remove it - everything works fine like when you define no special editor for the single line input - except: you can't enter new lines then.
But I have to provide the new line option by pressing the ENTER-Key on the keyboard - so I changed it to
Now I can enter the umlauts and one can leave the field by pressing "TAB". That's OK for me - in row editing mode I don't save every cell, users have to press the update button of the row...
The data of the editor are stored correctly in the database - but getting them back on page reload is interesting. The new lines then are not shown in textarea editing mode, instead we have two blanks... until page reload after ajax update, the new lines are displayed correctly. Seems to be a similar issue like the apostrophe, which breaks on reload in editing mode...
Thank you very much for your help
I tried some more thing: When I type them in Word or somewhere else and then copy and paste them into the textarea editor - this works, too. But: It's no solution for daily use - the users have to type the umlauts into the field like every other character, too...
Now, I found out a solution by trial and error. In my configuration (see first post) I had the line
Code: [Select]
editModel: { keyUpDown: false, saveKey: '' },
the saveKey parameter produces the problems, if I remove it - everything works fine like when you define no special editor for the single line input - except: you can't enter new lines then.
But I have to provide the new line option by pressing the ENTER-Key on the keyboard - so I changed it to
Code: [Select]
editModel: { keyUpDown: false, saveKey: '9' },
Now I can enter the umlauts and one can leave the field by pressing "TAB". That's OK for me - in row editing mode I don't save every cell, users have to press the update button of the row...
The data of the editor are stored correctly in the database - but getting them back on page reload is interesting. The new lines then are not shown in textarea editing mode, instead we have two blanks... until page reload after ajax update, the new lines are displayed correctly. Seems to be a similar issue like the apostrophe, which breaks on reload in editing mode...
Thank you very much for your help