Hello, we'd like to use the bulletinboard application
(
http://code.xwiki.org/xwiki/bin/view/Applications/BulletinBoardApplication), but we want
to allow WYSIWYG editing of a post so links and perhaps photos can be embedded. Right
now, the class for each post only has a author, date, and the text is a TextArea. So, I
guess I have two questions:
1) Is there a handle for the WYSIWIG editor to be embedded in a page?
2) Can it be used on a TextArea or does it have to be used on a document?
It looks to me like we might have to make every post it's own document to get WYSIWIG,
but wanted to check first.
Current code that is displaying the text input box:
<span class="bbsmalltitle"> <a name=postmessage
href="#postmessage"> $msg.bb_postmessage </a> </span>
<form method="post" action="$doc.getURL("objectadd")"
class="postreply">
<input type="hidden" name="xredirect"
value="$doc.getURL()#$lastpostid" />
<input type="hidden" name="classname"
value="BBCode.PostClass" />
<input type="hidden" name="BBCode.PostClass_postauthor"
value="$context.user" />
<textarea rows="10" cols="65"
id="BBCode.PostClass_postcontent" name="BBCode.PostClass_postcontent"
/></textarea><br />
<input id="BBCode.PostClass_postbutton" type="submit"
value="Post!" />
</form>
Thanks,
-Mike
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:…