cancel
Showing results for 
Search instead for 
Did you mean: 

In-line editor making files unusable

qasimh
Champ in-the-making
Champ in-the-making
Hi,

I'm using Alfresco 2.1 CE on Windows.  The in-line editor functionality is pretty good, but some of my users prefer to manipulate the file themselves (using 3rd party html editors, etc…).

The problem is that an HTML file looses all line-breaks when saving in Alfresco's inline editor.  That makes the file practically unusable for many users.

Is there anyway to correct this?

-Q
1 REPLY 1

qasimh
Champ in-the-making
Champ in-the-making
I think I found how to fix this:

Looking at http://wiki.moxiecode.com/index.php/TinyMCE:Configuration
and modifying <webapps>/alfresco/jsp/dialog/edit-html-inline.jsp

I added the following settings to tinyMCE.init({…}) to fix the line breaks and some URL management issues.  Make sure the parameters are properly separated by comas.

The added lines:
relative_urls : false
remove_script_host : false
convert_urls : false
document_base_url : "http://mydomain:8080/"
remove_linebreaks : false
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.