Paste buttons

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/16/2009 6:04:52 AM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Paste buttons

I don't see why there's a Paste button at the events description editor - it almost never works correctly (it gets text ok, but after you save the event and go back to it you see error about invalid styles etc. and a note that you should have used the paste-as-text button instead). If you used Paste-From-Word button instead it always works fine. In our case we copy-paste stuff from webpages or e-mails to make new events about upcoming robotics conferenes etc.

So, how can I hide the paste button and keep only paste-as-text and paste-from-word ones? Plus I want CTRL+V to default to paste-from-word

10/16/2009 6:54:02 AM
Gravatar
Total Posts 18439

Re: Paste buttons

Hi George,

I'm inclined to agree about removing the Paste button by default and leaving only the Paste as Text and Paste from Word buttons, I may do that for the next release. You can configure it yourself, though, see the documentation for customizing the editor toolbars. It does require some knowledge of the specific editor you are using. 

I'm not sure about a way to force Paste From Word, it is possible to force Paste As Text, in fact I have that configured for the forums because people always scrape html and paste it in. I'm not sure I have exposed a property for that in the TinyMCE configuration (will look into that for the next release of mojoPortal), but using FCKeditor you can set this true in a custom config file:
FCKConfig.ForcePasteAsPlainText = false ;

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.