ASF Bugzilla – Attachment 19722 Details for
Bug 41842
[PATCH] Doesn't work with FCKeditor 2.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Makes Lenya work with FCKeditor 2.4 and only FCKeditor 2.4
FCKeditor2.4.diff (text/plain), 3.74 KB, created by
Richard Frovarp
on 2007-03-16 06:56:06 UTC
(
hide
)
Description:
Makes Lenya work with FCKeditor 2.4 and only FCKeditor 2.4
Filename:
MIME Type:
Creator:
Richard Frovarp
Created:
2007-03-16 06:56:06 UTC
Size:
3.74 KB
patch
obsolete
>Index: src/modules/xhtml/xslt/clean-xhtml.xsl >=================================================================== >--- src/modules/xhtml/xslt/clean-xhtml.xsl (revision 518739) >+++ src/modules/xhtml/xslt/clean-xhtml.xsl (working copy) >@@ -31,6 +31,14 @@ > </xsl:copy> > </xsl:template> > >+ <!-- Remove tag that disables Firefox spell check in FCK --> >+ <xsl:template match="xhtml:body[@spellcheck]" > >+ <xsl:copy> >+ <xsl:apply-templates select="@*[name()!='spellcheck']" /> >+ <xsl:apply-templates /> >+ </xsl:copy> >+ </xsl:template> >+ > <!-- Unsupported by the schema --> > <xsl:template match="@shape|@target|xhtml:u"> > <xsl:apply-templates /> >Index: src/modules/fckeditor/resources/javascript/fckconfig.js >=================================================================== >--- src/modules/fckeditor/resources/javascript/fckconfig.js (revision 518739) >+++ src/modules/fckeditor/resources/javascript/fckconfig.js (working copy) >@@ -28,7 +28,7 @@ > ['OrderedList','UnorderedList','-','Outdent','Indent'], > ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], > ['Link','Unlink','Anchor'], >- ['Image','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'], >+ ['Image','Table','Rule','Smiley','SpecialChar','PageBreak'], > ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], > '/', > ['Style','FontFormat','FontName','FontSize'], >Index: src/modules/fckeditor/resources/javascript/fckloader.js >=================================================================== >--- src/modules/fckeditor/resources/javascript/fckloader.js (revision 518739) >+++ src/modules/fckeditor/resources/javascript/fckloader.js (working copy) >@@ -18,7 +18,7 @@ > function fckloader(host, requesturi, contextPath) > { > var oFCKeditor = new FCKeditor( 'content' ) ; >- oFCKeditor.BasePath = contextPath + '/modules/fckeditor/FCKeditor/' ; >+ oFCKeditor.BasePath = contextPath + '/modules/fckeditor/fckeditor/' ; > oFCKeditor.Width="800"; > oFCKeditor.Height="700"; > oFCKeditor.Config[ "FullPage" ] = true ; >Index: src/modules/fckeditor/usecases/fckeditor.jx >=================================================================== >--- src/modules/fckeditor/usecases/fckeditor.jx (revision 518739) >+++ src/modules/fckeditor/usecases/fckeditor.jx (working copy) >@@ -24,7 +24,7 @@ > xmlns:cinclude="http://apache.org/cocoon/include/1.0" > > > >- <script type="text/javascript" src="${request.getContextPath()}/modules/fckeditor/FCKeditor/fckeditor.js"> </script> >+ <script type="text/javascript" src="${request.getContextPath()}/modules/fckeditor/fckeditor/fckeditor.js"> </script> > <script type="text/javascript" src="${request.getContextPath()}/modules/fckeditor/javascript/fckloader.js"> </script> > <script type="text/javascript"> > window.onload = function() >Index: src/modules/fckeditor/README.txt >=================================================================== >--- src/modules/fckeditor/README.txt (revision 518739) >+++ src/modules/fckeditor/README.txt (working copy) >@@ -2,7 +2,7 @@ > 1. download the latest release of fckeditor from http://www.fckeditor.net/ > > 2. unzip it into the src/modules/fckeditor/resources directory >- (resources directory should now contain a directory named FCKeditor) >+ (resources directory should now contain a directory named fckeditor) > > 3. register the module with your publication, so that the appropriate menu > item can be displayed: in <yourpub>/config/publication.xconf, add the line >@@ -16,8 +16,10 @@ > <role id="admin"/> > <role id="edit"/> > </usecase> >+ >+ or use the usecases option under the admin tab in lenya. > > 5. build lenya > > 6. try to edit your document by clicking on "With FCKEditor" in the edit menu >- >\ No newline at end of file >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41842
: 19722