<?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 Alfresco Share TinyMCE Customization? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-tinymce-customization/m-p/284156#M237286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I'm running Alfresco share 5.0.d on CentOS 6.6. I'm just getting started with Alfresco share to organize my personal documents. I typically store most of my documents in a HTML file with images inline (Base64 URI is what this is called I believe) Unfortunately though after uploading these into Share and trying to edit them I find that the images disappear. Upon further research this seems to be an issue (feature?) with TinyMCE. Upon further research I found an option in TinyMCE called "paste_data_images" (&lt;/SPAN&gt;&lt;A href="http://www.tinymce.com/wiki.php/Configuration:paste_data_images" rel="nofollow noopener noreferrer"&gt;http://www.tinymce.com/wiki.php/Configuration&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;aste_data_images&lt;/A&gt;&lt;SPAN&gt;) The thing I've been struggling with is finding where to put this option so it can be turned on in Share. It seems like this should go in /opt/alfresco-5.0.d/tomcat/webapps/share/modules/editors/tiny_mce.js . After looking through the file I tried adding "config.paste_data_images = true;" and restarting alfresco it didn't seem to change anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I guess my questions are..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Am I editing the right file? it seems like (/opt/alfresco-5.0.d/tomcat/webapps/share/modules/editors/tiny_mce.js) should be the file that controls how Share calls TinyMCE. I'm definitely not a coder so if I missed something obvious any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2)How do I modify this file so I can add images inline in my html documents? It seems like I'm headed the right direction but am definitely missing something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3)If It isn't possible to add images inline in the TinyMCE and not have it strip existing images out. Is it possible for me to disable the Inline Editor system wide? That way I can avoid someone inadvertently removing all the images from a document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate any assistance and will update this post if I find anything on my own. Thanks &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 17:16:23 GMT</pubDate>
    <dc:creator>muramasa</dc:creator>
    <dc:date>2015-06-10T17:16:23Z</dc:date>
    <item>
      <title>Alfresco Share TinyMCE Customization?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-tinymce-customization/m-p/284156#M237286</link>
      <description>So I'm running Alfresco share 5.0.d on CentOS 6.6. I'm just getting started with Alfresco share to organize my personal documents. I typically store most of my documents in a HTML file with images inline (Base64 URI is what this is called I believe) Unfortunately though after uploading these into Sh</description>
      <pubDate>Wed, 10 Jun 2015 17:16:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-tinymce-customization/m-p/284156#M237286</guid>
      <dc:creator>muramasa</dc:creator>
      <dc:date>2015-06-10T17:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Share TinyMCE Customization?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-tinymce-customization/m-p/284157#M237287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I decided to take a fresh look at this and found a possible option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my searching I stumbled on this post by wabson.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/comment/71828#comment-71828" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/comment/71828#comment-71828&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Peter Löfgren has contributed a extension for Alfresco Share that integrates CKEditor into standard create/edit forms in Share. You can find more information on it, including how to tailor it to your own requirements, on the project page, as well as on Peter's blog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/p/share-extras/wiki/CKEditorFormControl" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/share-extras/wiki/CKEditorFormControl&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://loftux.com/2011/05/11/ckeditor-plugin-for-alfresco-share-forms/" rel="nofollow noopener noreferrer"&gt;http://loftux.com/2011/05/11/ckeditor-plugin-for-alfresco-share-forms/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sounds perfect replace the alfresco modified tinymce with ckeditor. I looked up if it has bas64 support and found a plugin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ckeditor.com/addon/base64image" rel="nofollow noopener noreferrer"&gt;http://ckeditor.com/addon/base64image&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately the module seems to not be up to date and hasn't been updated in 4 years. looks like the last version it worked with was 4.2.x. My understanding is a lot has changed since then. The github page has a current report of the plug in not working in 5.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rather than keep banging my head against this without any clues as to how alfresco is actually doing this it might make more sense for me to explore other options. Alfresco is still my first choice but I've kind of hit a dead end. Will keep an eye on this thread in case some one replies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 21:35:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-tinymce-customization/m-p/284157#M237287</guid>
      <dc:creator>muramasa</dc:creator>
      <dc:date>2015-06-15T21:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Share TinyMCE Customization?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-tinymce-customization/m-p/284158#M237288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The inline edit form uses some javascript which renders the appropriate editor for the content mimetype. As yours is HTML it will render tinyMCE using the standard set of parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which are in fact&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; editorParameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 100,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 400,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inline_styles: false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; convert_fonts_to_spans: false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme: 'advanced',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_toolbar_location: "top",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_toolbar_align: "left",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_statusbar_location: "bottom",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_path: false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; language: "en",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; forced_root_block : false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; force_p_newlines : false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plugins: "table",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_resizing: true,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_buttons1_add: "fontselect,fontsizeselect",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_buttons2_add: "separator,forecolor",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_buttons3_add_before: "tablecontrols,separator",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_disable: "styleselect",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; valid_children : "+body[style]",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extended_valid_elements: "a[href|target|name|style],font[face|size|color|style],span[id|class|align|style],meta&lt;/SPAN&gt;&lt;LI&gt;,style[type]"&lt;/LI&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a form definition for inline edit in share-form-config and you need to ovefride this and force your own editorparameters in share-custom-config.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will use the same default controls but add a &amp;lt;control-param name="editorParameters"&amp;gt; tag and enclose your custom edit options in that&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 01:18:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-tinymce-customization/m-p/284158#M237288</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2015-06-16T01:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Share TinyMCE Customization?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-tinymce-customization/m-p/284159#M237289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That block of TinyMCE code doesn't work for TinyMCE 4 in Alfresco 5. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 09:15:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-tinymce-customization/m-p/284159#M237289</guid>
      <dc:creator>nunocardoso</dc:creator>
      <dc:date>2015-11-27T09:15:06Z</dc:date>
    </item>
  </channel>
</rss>

