Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Pasting Code into an EditorPasting Code into an Editor
Previous
 
Next
New Post
5/10/2012 8:32 PM
 

 I am creating a  website for a small coding community I belong to. I have installed Active Forums Lite while I get up to speed with DotnetNuke. I would like the ability to copy code directly from Visual Studio into a HTML editor in the forum. I have set the forum up to use the default DNN Editor 'DotNetNuke.RadEditorProvider', but the code is pasted in as a single line.

I have done some searching but I am not having a lot of luck. To summarise, I am after a

  • DNN editor that supports html or rtf
  • and will allow code to be copied in directly from Visual Studio, maintaining white space (or as a minimum, carriage returns).

Can anyone tell me if one exists or am I being fanciful?

I am open to the idea of a different forum module as long as it supports attachments.

 Thanks in advance.

 
New Post
5/11/2012 3:43 AM
 
AFAIK code pasted will loose colors, because attributes are not placed in the clipboard. there are pretty formatting extensions for code like CodeBeautifier for CKEditor.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/13/2012 7:27 AM
 

Thanks Sebastian.

 I downloaded CKEditor DNN Provider and after some struggle (all my own doing), I managed to install and set it up as the default editor. It works better than expected, if not a little slow. I was hoping it would maintain white space but it also maintains colouring.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Pasting Code into an EditorPasting Code into an Editor


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out