• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

dkorff
#1 Posted : Thursday, September 21, 2006 9:20:58 AM(UTC)
dkorff

Rank: Member

Joined: 6/29/2006(UTC)
Posts: 18

Do you currently have any plans for implementing a WYSIWYG editor for fields like the product description or on the custom page areas?
Noah
#2 Posted : Thursday, September 21, 2006 9:34:50 AM(UTC)
Noah

Rank: Member

Joined: 11/6/2003(UTC)
Posts: 1,903

Admin> Options> General> "WYSIWYG Editor"
Noah
cdakz
#3 Posted : Monday, March 5, 2007 3:22:19 PM(UTC)
cdakz

Rank: Member

Joined: 5/2/2005(UTC)
Posts: 259

I just tried this - great new feature!

One thing that surprised me, though, is that if you choose the "Free Text Box" editor, it doesn't produce XHTML. The tags are upper case (XHTML wants lower-case), and the <BR> tag isn't self-closing like this <br />

Any chance that will change to XHTML in a future service pack?
Andy Miller
#4 Posted : Monday, March 5, 2007 4:49:19 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
I have not tested this, but you should be able to store the XHTML in the database by changing the Text property in BVModules/Editors/Free Text Box/editor.ascx.vb as shown here,




<SPAN style="COLOR: #2b91af"> 19 <SPAN style="COLOR: blue">Public <SPAN style="COLOR: blue">Overrides <SPAN style="COLOR: blue">Property Text() <SPAN style="COLOR: blue">As <SPAN style="COLOR: blue">String

<SPAN style="COLOR: #2b91af"> 20 <SPAN style="COLOR: blue">Get

<SPAN style="COLOR: #2b91af"> 21 <SPAN style="COLOR: blue">Return <SPAN style="COLOR: blue">Me.FreeTextBox1.Xhtml

<SPAN style="COLOR: #2b91af"> 22 <SPAN style="COLOR: blue">End <SPAN style="COLOR: blue">Get

<SPAN style="COLOR: #2b91af"> 23 <SPAN style="COLOR: blue">Set(<SPAN style="COLOR: blue">ByVal value <SPAN style="COLOR: blue">As <SPAN style="COLOR: blue">String)

<SPAN style="COLOR: #2b91af"> 24 <SPAN style="COLOR: blue">Me.FreeTextBox1.Text = value

<SPAN style="COLOR: #2b91af"> 25 <SPAN style="COLOR: blue">End <SPAN style="COLOR: blue">Set

<SPAN style="COLOR: #2b91af"> 26 <SPAN style="COLOR: blue">End <SPAN style="COLOR: blue">Property




Note that this will not affect what you see when you view the HTML inside of the editor. It changes what is stored in the database.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
cdakz
#5 Posted : Thursday, August 9, 2007 9:10:34 AM(UTC)
cdakz

Rank: Member

Joined: 5/2/2005(UTC)
Posts: 259

Andy, thanks for the tip!



I just got around to implementing this (gettting closer to finishing up our first BVC5 site), and although making this change causes it to use XHTML instead of HTML tags, it's not valid XHTML because the tags are all cap.



Here's an example:





Code:

&lt;STRONG&gt;This is bold text&lt;/STRONG&gt;


Anybody know a way to make it the tags lower case so that they're valid?
bvuser
#6 Posted : Thursday, August 9, 2007 10:42:39 AM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

Hi,

The editor you choose to use is entirely up to you. Bvc is not the publisher of the freetextbox, however is it regarded as the best free one available which is why Bvc choose to include it with their product. The freetextbox actually has a pro version you can purchase which claims to have xhtml support (www.freetextbox.com). Personally, I would consider looking into other .net editors that are available out there if you are looking for an "upgrade" such as Cutesoft's (www.cutesoft.net) or Telerik's product (www.telerik.com).
Netriplex Corporation<br />
Andy Miller
#7 Posted : Thursday, August 9, 2007 3:40:44 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Yahoo! developers just released their Rich Text Editor. I have not looked at it closely, but I like their other controls very much.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
bvuser
#8 Posted : Friday, August 10, 2007 9:05:55 AM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

The only problem with it, is because the way it renders, I do not think it works within the bvc plugin architecture.
Netriplex Corporation<br />
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012