I’ve been assisting Val with online publishing since ‘95 when the Dead Mule first went online. Gone are horse-n-wagon days of formatting each page, saving it & all text then ftp’ing the group to the server.
Yesterday I moved Val’s Washington, NC site to Word Press 1.5 with the wysiwyg plugin.
[edit] - I just noticed that I’ve listed the browser as Firefox. Further examination of the picture shows that it is actually the Epiphany web browser, not Firefox.

Copy/Cut/Paste is not available in Mozilla and Firefox. Well, this has to change as she tends to paste submissions from OpenOffice.org.
Alright, here’s what I’ve got so far:
Wysi-Wordpress > langs > en.js
line 38
tinyMCELang['lang_clipboard_msg'] = ‘Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?’;
Hrm, from Wysi-Wordpress > tiny_mce.js on line 80000bazillion -
his.contentDocument.execCommand (”useCSS”,false,true);}else this.contentDocument.execCommand(’backcolor’,false,value); break;case “Cut”:case “Copy”:case “Paste”:var cmdFailed=false;eval(’try {this.contentDocument.execCommand (command, user_interface, value);} catch (e) {cmdFailed = true;}’);if(tinyMCE.isGecko&&cmdFailed) {if(confirm(tinyMCE.getLang(’lang_clipboard_msg’)))
window.open (’http://www.mozilla.org/editor/midasdemo/securityprefs.html’, ‘mceExternal’);
return;} else tinyMCE.triggerNodeChange(); break;case “mceLink”: var selectedText =”";if(tinyMCE.isMSIE) {var doc= this.getDoc();
var rng= doc.selection.createRange(); selectedText=rng.text;}
Alright then - it’s working now. Cutting text from within OpenOffice.org and then pasting into tinymce textarea works. What a pain in the ass to having to circumvent this default feature of mozilla/firefox. Wish there was a cleaner, easier way. An upload, point and click and activate while sipping coffee kinda way. Some of the changes I made to this box where basicly done against the suggestions of the actual developers. Anyway -
sudo vi /etc/mozilla/user.js
user_pref(”capability.policy.policynames”, “allowclipboard”);
user_pref(”capability.policy.allowclipboard.sites”, “http://www.mozilla.org”);
user_pref(”capability.policy.allowclipboard.Clipboard.cutcopy”, “allAccess”);
user_pref(”capability.policy.allowclipboard.Clipboard.paste”, “allAccess”);
Since I’m not the smartest cookie I also did a:
locate all.js
and added
pref(”capability.policy.default.Clipboard.cutcopy”, “AllAccess”);
pref(”capability.policy.default.Clipboard.paste”, “AllAccess”);
Where needed.
You’ll need to sudo /path/to/all.js possibly so break out your sudo gloves.
For those that may care - this is done on Ubuntu Linux Hoary with Word Press 1.5, Wysiwyg for Wordpress 1.5+. Epiphany 1.6.0 and OpenOffice.org 2. Just tested the pasting from OpenOffice.org 2 into Firefox and it works fine also. Mileage may vary but does work for Firefox on Linux.
mud is the bomb
K, now it’s time to make changes to the image upload section of the code. First - there’s too much spacing so I’m shrinking the overall padding and dropping some rows from {$lang_ibrowser_images}: section.
Seems to be working fine - next we move the {$lang_ibrowser_img_upload} section to the top. Seeing that I’m easily confused this will allow for my eyes to quickly focus where I need to click before I start taking in too much visually. Don’t want to drool on our keyboards now do we. So let’s head down to line 373 where we see if ($tinyMCE_upload_allowed) { and grab our upload code.
Hrmz - never mind. It stays as is for the time.