Yura Taras wrote:
Hi all.
I have custom document types in my publication. I've read
http://wiki.apache.org/lenya/HowToEditCustomDoctypesWithBXE page and
configured BXE to edit my doctypes.
But BXE does not support copy&paste from other pages (at least it
don't work on my Firefox nor in Lenya neither on BXE site demo).

this is a security restriction.
there is a workaround for this issue: you can add a new paste button that will open a textarea, to which you can paste.
the downside is that each paste is now three clicks instead of one.

it has been fixed for 1.4, the patch is attached. you should be able to apply it to 1.2 with only minimal changes.

perhaps some of the devs who are using 1.2 could backport the fix and commit it?



So i
need other WYSIWYG editor. I like FCKEditor, but I don't know how to
manage FCKEditor work with my document types. Is it possible? Has
anyone managed to do this before? If so, please, post your solution.
Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Index: src/modules/bxe/resources/misc/inc/config.xml
===================================================================
--- src/modules/bxe/resources/misc/inc/config.xml	(revision 411441)
+++ src/modules/bxe/resources/misc/inc/config.xml	(working copy)
@@ -131,12 +131,17 @@
         <button name="Cut" col="1" row="4" action="ClipboardCut"/>
 
         <button name="Paste" col="2" row="4" action="ClipboardPaste"/>
+        <button name="PasteDialog" col="4" row="4" action="ClipboardPasteDialog"/>
         <button name="Image" col="3" row="5" action="InsertImage"/>
         <button name="Save" col="1" row="6" action="DocumentSave"/>
         <button name="Undo" col="3" row="6" action="Undo"/>
         <button name="Redo" col="4" row="6" action="Redo"/>
         <button name="Asset" col="2" row="6" action="InsertAsset"/>
     </buttons>
+    <plugins>
+        <plugin name="ClipboardPasteDialog">
+        </plugin>
+    </plugins>
     <callbacks>
         <element name="object" ns="http://www.w3.org/1999/xhtml"; type="popup">?lenya.usecase=edit.insertImage</element>
         <element name="img" ns="http://www.w3.org/1999/xhtml"; type="popup">?lenya.usecase=edit.insertImage</element>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to