xs:string editor => 'View Source'

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 09:30 PM
One of the limitations with the xs:string editor in WCM is that you can't view the source.
At the moment I'm using a partially modified version of HTML so that I can reference bits of XML etc. Rather than having to extend the xs:string rich text editor it would be a lot easier to just edit the source.
As an example, I want the resulting output to look like;
Something like the functionality of the button in the top left of the FCKeditor (http://www.fckeditor.net/) would allow me to do what I need to do straight away.
I wanted to post here before going to JIRA. Is there a way to do this that I am not seeing?
At the moment I'm using a partially modified version of HTML so that I can reference bits of XML etc. Rather than having to extend the xs:string rich text editor it would be a lot easier to just edit the source.
As an example, I want the resulting output to look like;
<!– snippet, let's say the element we're working in is an xs:string –><p>This is a link to an xml element, <a idref="other_content">Other Content</a>.</p>
Something like the functionality of the button in the top left of the FCKeditor (http://www.fckeditor.net/) would allow me to do what I need to do straight away.
I wanted to post here before going to JIRA. Is there a way to do this that I am not seeing?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 10:37 AM
Hey there kooktroop,
Yes you can do this. Search your 'alfresco' home directory for this file:
xforms.js
Then change this line:
theme_advanced_buttons1:
"bold,italic,underline,strikethrough,separator,fontselect,fontsizeselect,code"
In your installation you won't have 'code' there, add it, and be sure to clear cache on your browser.
Thanks,
Brent Kastner
Eye Street
Yes you can do this. Search your 'alfresco' home directory for this file:
xforms.js
Then change this line:
theme_advanced_buttons1:
"bold,italic,underline,strikethrough,separator,fontselect,fontsizeselect,code"
In your installation you won't have 'code' there, add it, and be sure to clear cache on your browser.
Thanks,
Brent Kastner
Eye Street
