<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic xs:string editor =&amp;gt; 'View Source' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/xs-string-editor-gt-view-source/m-p/42734#M23108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One of the limitations with the xs:string editor in WCM is that you can't view the source. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an example, I want the resulting output to look like;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;!– snippet, let's say the element we're working in is an xs:string –&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;This is a link to an xml element, &amp;lt;a idref="other_content"&amp;gt;Other Content&amp;lt;/a&amp;gt;.&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like the functionality of the button in the top left of the FCKeditor (&lt;/SPAN&gt;&lt;A href="http://www.fckeditor.net/" rel="nofollow noopener noreferrer"&gt;http://www.fckeditor.net/&lt;/A&gt;&lt;SPAN&gt;) would allow me to do what I need to do straight away.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to post here before going to JIRA. Is there a way to do this that I am not seeing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 02:30:06 GMT</pubDate>
    <dc:creator>kooktroop</dc:creator>
    <dc:date>2007-03-08T02:30:06Z</dc:date>
    <item>
      <title>xs:string editor =&gt; 'View Source'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/xs-string-editor-gt-view-source/m-p/42734#M23108</link>
      <description>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 sourc</description>
      <pubDate>Thu, 08 Mar 2007 02:30:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/xs-string-editor-gt-view-source/m-p/42734#M23108</guid>
      <dc:creator>kooktroop</dc:creator>
      <dc:date>2007-03-08T02:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: xs:string editor =&gt; 'View Source'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/xs-string-editor-gt-view-source/m-p/42735#M23109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey there kooktroop,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes you can do this.&amp;nbsp; Search your 'alfresco' home directory for this file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;xforms.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then change this line: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;theme_advanced_buttons1: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"bold,italic,underline,strikethrough,separator,fontselect,fontsizeselect,code"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your installation you won't have 'code' there, add it, and be sure to clear cache on your browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brent Kastner&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eye Street&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 15:37:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/xs-string-editor-gt-view-source/m-p/42735#M23109</guid>
      <dc:creator>eyestreet</dc:creator>
      <dc:date>2007-03-09T15:37:27Z</dc:date>
    </item>
  </channel>
</rss>

