WYSIWYG

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: WYSIWYG

Post by Ted »

Pasting into WYSIWYGs is off by default in Firefox as a security thing.  It is possible to turn them back on, though you'll have to google how to do it...
gnolen

Re: WYSIWYG

Post by gnolen »

Oh, ok..I'll have to turn it on then...I do not know what is right anymore because I am running CMSMS as a fusion of beta and normal release! I'll fix that when B3 comes out. And then some problems are solved I think.

Thanks / Gnolen
jah
Forum Members
Forum Members
Posts: 147
Joined: Thu Dec 30, 2004 9:09 am
Location: Norway

Re: WYSIWYG

Post by jah »

Seems like FCKEditor has released its 2.0FC (Final Candidate) with a number of improvements.

Megabob, would you consider adapting the module to this new release?

Jon
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Re: WYSIWYG

Post by megabob3 »

jah wrote: Seems like FCKEditor has released its 2.0FC (Final Candidate) with a number of improvements.

Megabob, would you consider adapting the module to this new release?

Jon
Sure :D
iNSiPiD

Re: WYSIWYG

Post by iNSiPiD »

And while you're there do you think you could inlcude in the Help a paragraph on how to get your own stylers to appear in the drop-down menu? It wasa real pain discovering that there are two files - a CSS and an XML document. I just pasted my CSS into both. Changing the path seemd like more of  a drag (especially if your CSS only exists in your templates.

What I love most about this editor is that it actually works. FCK and bulletmenu have really made CMSMS so much better.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Re: WYSIWYG

Post by megabob3 »

iNSiPiD wrote: And while you're there do you think you could inlcude in the Help a paragraph on how to get your own stylers to appear in the drop-down menu? It wasa real pain discovering that there are two files - a CSS and an XML document. I just pasted my CSS into both. Changing the path seemd like more of  a drag (especially if your CSS only exists in your templates.

What I love most about this editor is that it actually works. FCK and bulletmenu have really made CMSMS so much better.
I will try :D

However before to do something, i am waiting next realase of CMSMS, and waiting a period of less work.

Bye :)
gnolen

Re: WYSIWYG

Post by gnolen »

Megabob...Did you have the time to take a peak at the 2.0FC? Would it be hard to implement in the new CMS version do you think? Would be great if it did!

/ gnolen
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Re: WYSIWYG

Post by megabob3 »

gnolen wrote: Megabob...Did you have the time to take a peak at the 2.0FC? Would it be hard to implement in the new CMS version do you think? Would be great if it did!

/ gnolen
Don't worry when new realese of CMSMS will be available in max 2 week 2.0FC will be useable ;)
gnolen

Re: WYSIWYG

Post by gnolen »

Cool!
Alex_Leipzig

Re: WYSIWYG

Post by Alex_Leipzig »

wishy wrote: Pasting into WYSIWYGs is off by default in Firefox as a security thing.  It is possible to turn them back on, though you'll have to google how to do it...
No need to google it - here's the description from http://www.mozilla.org/editor/midasdemo ... prefs.html

Setting Prefs for the Mozilla Rich Text Editing Demo

To protect users' private information, unprivileged scripts cannot invoke the Cut, Copy, and Paste commands in the Mozilla rich text editor, so the corresponding buttons on the Mozilla Rich Text Editing demo page will not work. To enable these functions for purposes of the demo, you must modify your browser preferences.

  1. Quit Mozilla. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
  2. Find your Mozilla profile directory. On Windows, this is often located in c://WINNT/Profiles//Application Data/Mozilla. (See also editing configuration files for more info on locating your profile folder.)
  3. Open the user.js file from that directory in a text editor. If there's no user.js file, create one.
  4. Add these lines to user.js:

Code: Select all

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");
  5. Save the file, and restart Mozilla. The Clipboard buttons should now function.
dont

Re: WYSIWYG

Post by dont »

Does someone has a complete working WYSIWYG in the beta4 version.

The standard TinyMCE version can't insert the picture's correct...

and the HTMLArea isn't combatible with the because the options tab isn't hide (also not FireFox combatible)


Hopefully someone has an sollution.

Tnx
gnolen

Re: WYSIWYG

Post by gnolen »

And how about the best one - FCK editor? Does that one work?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: WYSIWYG

Post by Ted »

It should work, but I don't agree that it's the best solution.  The styles dropdown is based on an xml file and not just parsing the stylesheet.  Since we try to push standards, styles should be pretty important.

And, yes, I know about the TinyMCE thing.  As soon as I get some time to dedicate, I'll fix it.
dont

Re: WYSIWYG

Post by dont »

Great Wishy, can you post it somewhere when you fixed the TinyMCE thing.

Tnx.
gnolen

Re: WYSIWYG

Post by gnolen »

Hmm, fck parses classes correctly alright. Just as a normal class...Or do I see wrong? And the content(with some CSS from fck) comes out 100% valid..I just feel that the fck is the most userfriendly one..
Post Reply

Return to “Developers Discussion”