|
Rank: Newbie Groups: Member
Joined: 3/20/2009 Posts: 9
|
Hello!
I just purchased a license for your web controls as I needed a good replacement for FreeTextBox. I got the editor and additional dialogs working just about fine (borrowed most of it from your demo and added a context menu). However, I think the Cut/Copy functionality might be missing something. The following is verified on your online demo: After writing some text in the editor and selecting some of it, the "Cut" and "Copy" toolbar buttons remain disabled in Firefox (3.0.12) and Google chrome (2.0.172.37). In IE7 (7.0.570.11) they work just fine. The cut/copy functions work in all above browsers using Ctl-X/Ctl-C. Only the toolbar buttons remain disabled in Chrome and Firefox. Paste toolbar button and Ctl-V work all right in all browsers. What should I do to to enable Cut/Paste toolbar buttons in all browsers? I am sorry if this is a FAQ, I tried search key words like "Editor Copy" and similar, with no results. I found no help in the help file either. Another thing I noticed: if the editor is in a div that has the "text-align: left" style (or if any container above it in the hierarchy has this style), somewhat weird behavior is produced as follows: IE7: the editor's contents are aligned somewhere in the middle of the edit area. The "status bar" at the bottom is also pushed to the right. Firefox: the content text is aligned near the center like in IE7, but the status bar is in it's normal position. Chrome: no problems. This is easy to fix with an extra div around the editor with style "text-align: left". However, this could probably be taken care of inside the editor.
Thanks & Best Regards, Pentti
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Thank you very much for the feedback. The Cut/Copy behavior is by design. The reason is non IE browsers does not currently provide a way to access the clipboard. The toolbar buttons need this feature to function. For example, paste actually reads the contents from the clipboard and then use it to replace the current selection.
We will look into the text-align issue for the Editor. We understand that it will be better if it is being taken care of automatically by the editor.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/20/2009 Posts: 9
|
Thank you for the quick response and explanation! Just a suggestion for future enhancement: the cut/paste functionality would be very useful even if it only worked within the editor. In cases where the global clipboard is inaccessible, a simple clipboard inside the editor would probably fulfill user's needs in many cases. Pentti
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Thank you very much for the suggestion. Cut/Copy/Paste actually works just fine in all browsers. The only difference is in non-IE they are not accessible from the toolbar, you will have to use hot keys instead. Since these hot keys will always work, implementing a separate "local clipboard" functionalities that are tied to toolbar only will probably cause unnecessary confusion because then there will be two set of clipboards: one accessible from the toolbar and one from the hot keys.
Nevertheless, we appreciate your feedback very much!
Thanks!
|
|