View | Details | Raw Unified | Return to bug 41842
Collapse All | Expand All

(-)src/modules/xhtml/xslt/clean-xhtml.xsl (+8 lines)
Lines 31-36 Link Here
31
    </xsl:copy>
31
    </xsl:copy>
32
  </xsl:template>
32
  </xsl:template>
33
  
33
  
34
  <!-- Remove tag that disables Firefox spell check in FCK -->
35
  <xsl:template match="xhtml:body[@spellcheck]" >
36
    <xsl:copy>
37
       <xsl:apply-templates select="@*[name()!='spellcheck']" />
38
       <xsl:apply-templates />
39
    </xsl:copy>
40
  </xsl:template>
41
34
  <!-- Unsupported by the schema -->
42
  <!-- Unsupported by the schema -->
35
  <xsl:template match="@shape|@target|xhtml:u">
43
  <xsl:template match="@shape|@target|xhtml:u">
36
    <xsl:apply-templates />
44
    <xsl:apply-templates />
(-)src/modules/fckeditor/resources/javascript/fckconfig.js (-1 / +1 lines)
Lines 28-34 Link Here
28
	['OrderedList','UnorderedList','-','Outdent','Indent'],
28
	['OrderedList','UnorderedList','-','Outdent','Indent'],
29
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
29
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
30
	['Link','Unlink','Anchor'],
30
	['Link','Unlink','Anchor'],
31
	['Image','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
31
	['Image','Table','Rule','Smiley','SpecialChar','PageBreak'],
32
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
32
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
33
	'/',
33
	'/',
34
	['Style','FontFormat','FontName','FontSize'],
34
	['Style','FontFormat','FontName','FontSize'],
(-)src/modules/fckeditor/resources/javascript/fckloader.js (-1 / +1 lines)
Lines 18-24 Link Here
18
function fckloader(host, requesturi, contextPath)
18
function fckloader(host, requesturi, contextPath)
19
{
19
{
20
  var oFCKeditor = new FCKeditor( 'content' ) ;
20
  var oFCKeditor = new FCKeditor( 'content' ) ;
21
  oFCKeditor.BasePath	= contextPath + '/modules/fckeditor/FCKeditor/' ;
21
  oFCKeditor.BasePath	= contextPath + '/modules/fckeditor/fckeditor/' ;
22
  oFCKeditor.Width="800";
22
  oFCKeditor.Width="800";
23
  oFCKeditor.Height="700";
23
  oFCKeditor.Height="700";
24
  oFCKeditor.Config[ "FullPage" ] = true ;
24
  oFCKeditor.Config[ "FullPage" ] = true ;
(-)src/modules/fckeditor/usecases/fckeditor.jx (-1 / +1 lines)
Lines 24-30 Link Here
24
  xmlns:cinclude="http://apache.org/cocoon/include/1.0"
24
  xmlns:cinclude="http://apache.org/cocoon/include/1.0"
25
  >
25
  >
26
  
26
  
27
  <script type="text/javascript" src="${request.getContextPath()}/modules/fckeditor/FCKeditor/fckeditor.js">&#160;</script>
27
  <script type="text/javascript" src="${request.getContextPath()}/modules/fckeditor/fckeditor/fckeditor.js">&#160;</script>
28
  <script type="text/javascript" src="${request.getContextPath()}/modules/fckeditor/javascript/fckloader.js">&#160;</script>
28
  <script type="text/javascript" src="${request.getContextPath()}/modules/fckeditor/javascript/fckloader.js">&#160;</script>
29
  <script type="text/javascript">
29
  <script type="text/javascript">
30
    window.onload = function()
30
    window.onload = function()
(-)src/modules/fckeditor/README.txt (-2 / +4 lines)
Lines 2-8 Link Here
2
1. download the latest release of fckeditor from http://www.fckeditor.net/
2
1. download the latest release of fckeditor from http://www.fckeditor.net/
3
3
4
2. unzip it into the src/modules/fckeditor/resources directory
4
2. unzip it into the src/modules/fckeditor/resources directory
5
   (resources directory should now contain a directory named FCKeditor)
5
   (resources directory should now contain a directory named fckeditor)
6
   
6
   
7
3. register the module with your publication, so that the appropriate menu
7
3. register the module with your publication, so that the appropriate menu
8
   item can be displayed: in <yourpub>/config/publication.xconf, add the line
8
   item can be displayed: in <yourpub>/config/publication.xconf, add the line
Lines 16-23 Link Here
16
     <role id="admin"/>
16
     <role id="admin"/>
17
     <role id="edit"/>
17
     <role id="edit"/>
18
   </usecase>
18
   </usecase>
19
20
   or use the usecases option under the admin tab in lenya. 
19
    
21
    
20
5. build lenya
22
5. build lenya
21
23
22
6. try to edit your document by clicking on "With FCKEditor" in the edit menu
24
6. try to edit your document by clicking on "With FCKEditor" in the edit menu
23
    
25
    

Return to bug 41842