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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsSet default editor mode to "Plain text"Set default editor mode to "Plain text"
Previous
 
Next
New Post
4/30/2013 6:36 PM
 

Hi folks;

When I edit an event, or create a new event, the default editor is set at "Rich Text" not "Plain Text". Since I am using the contents of this description field in SQL Server reporting, I need to have the text to be plain text without any HTML formatting. Right now, the person editing or entering events has to make sure that the "Plain Text box" radio button is checked before entering any text, which causes a page refresh. Is there a way to avoid this by setting the radio button default to "Plain Text"?  Is there another way around this?  

Thanks so much,

Rigel

 
New Post
5/1/2013 3:05 AM
 
Hi
Make Changes in the .ascx file ie edithtml.ascx where it calls the dnn:texteditor control: to DefaultMode="Basic" /> That will default the editor to Basic text box.


Thanks,
Sunil Kumar [ DNN Developer, Mindfire Solutions,India ]
 
New Post
5/1/2013 3:05 AM
 
Hi
Make Changes in the .ascx file ie edithtml.ascx where it calls the dnn:texteditor control: to DefaultMode="Basic" /> That will default the editor to Basic text box.


Thanks,
Sunil Kumar [ DNN Developer, Mindfire Solutions,India ]
 
New Post
5/1/2013 9:41 AM
 

Thanks a million Sunil!!!

It worked (without the trailing backslash...in case others refer to this solution.)

The replaced code is this:

</div>
<dnn:texteditor id="txtContent" runat="server" height="400" width="100%" DefaultMode="Basic"></dnn:texteditor>
</div>

Of course, it is universal and defaults to the basic editor all over the site. but I really needed it here for usability for event editors. That is the most used page... and critical for reporting that there is only plain text in the description field in the database.

Rigel

 

 
New Post
5/1/2013 9:50 AM
 
Thanks Rigel, for your encouraging feedback..I am glad this helped :)

Thanks,
Sunil Kumar [ DNN Developer, Mindfire Solutions,India ]
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsSet default editor mode to "Plain text"Set default editor mode to "Plain text"


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