Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#436 2008-02-05 18:10:27

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

Yeah that one is still tricky unfortunately.


Shoving is the answer – pusher robot

Offline

#437 2008-02-05 18:22:07

joel
Member
Registered: 2004-11-26
Posts: 162

Re: hak_tinymce WYSIWYG article editor

hakjoon wrote:

I’m out of ideas sorry. Does firebug report any errors or anything?

Nope- no notifications.

Well… this is probably the first time ever I’ve wished for my klients to go with MSIE… ;)

Offline

#438 2008-02-06 06:19:23

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: hak_tinymce WYSIWYG article editor

I don’t know what these two do:-

verify_css_classes : “false”,
save_callback:“mceTagWrap”,

I don’t use either and mine works? not much help but maybe….


I think, therefore I AM, … … er … I think :-?

Offline

#439 2008-02-06 15:22:41

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

The save_callback one just makes sure single line entries are wrapped in paragraphs. It’s just a little function that gets run on save. You can read about it over on my site

I’m not real sure what verify_css_classes does


Shoving is the answer – pusher robot

Offline

#440 2008-02-06 17:14:50

joel
Member
Registered: 2004-11-26
Posts: 162

Re: hak_tinymce WYSIWYG article editor

It’s supposed to verify the classes against the css-file (if you state them via theme_advanced_styles : “example1=example1;exam=example2”)

Offline

#441 2008-02-07 07:23:14

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: hak_tinymce WYSIWYG article editor

Do the styles work without it in your site… I saying this because I don’t use it and still get the styles in the dropdown menu


I think, therefore I AM, … … er … I think :-?

Offline

#442 2008-02-11 14:24:37

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: hak_tinymce WYSIWYG article editor

Hi, looking back to post #395 and the problem with tiny_mce removing <txp:* /> tags. I found a temporary work around for this.

tiny_mce doesn’t remove anything in html comments. So if you want to add a <txp:* /> tag, you can go to the html source and hide it in comments. Like so:
<!-- <txp:file_download_list break="<li>" category="my category" form="files" sort="filename asc" wraptag="ul" /> -->

The problem with this of course is that whilst it will be in the source code sent to the browser, the user will not be able to see it. To get around this I created a very simple plugin which adds textpattern tags to output “—>” and “<!—” so that when textpattern parses the output the resulting html is not hidden from the browser.Like So:

<!-- <txp:tame_end_html_comments /><txp:file_download_list break="<li>" category="my category" form="files" sort="filename asc" wraptag="ul" /> <txp:tame_start_html_comments /> -->

The drawback is of course it still doesn’t show in the tiny_mce WYSIWYG editor. You have to edit the html source to see it.

Works well for me. If anybody wants a copy of the plugin which generates these txp:tags I will make it available.

Offline

#443 2008-02-11 18:59:48

joel
Member
Registered: 2004-11-26
Posts: 162

Re: hak_tinymce WYSIWYG article editor

Timid&friendly wrote:

Do the styles work without it in your site… I saying this because I don’t use it and still get the styles in the dropdown menu

No, as a matter of fact they dont work at all. I can’t seem to select any images in the write-area properly. All the image-editing possibilities fails in safari.

Offline

#444 2008-02-11 19:16:41

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

Safari + TinyMCE = glitchy. Real possibility for support only came with Safari 3.0 and I think it’s still experimental. Javascript errors elsewhere on the page can also cause TinyMCE to totally misbehave in Safari. Check you javascript error console just in case.


Shoving is the answer – pusher robot

Offline

#445 2008-02-11 19:46:15

joel
Member
Registered: 2004-11-26
Posts: 162

Re: hak_tinymce WYSIWYG article editor

hakjoon wrote:

Safari + TinyMCE = glitchy. Real possibility for support only came with Safari 3.0 and I think it’s still experimental. Javascript errors elsewhere on the page can also cause TinyMCE to totally misbehave in Safari. Check you javascript error console just in case.

Yes, but the real problem for me is FF. For me, I dont mind if it doesn’t work in safari. My client will use MSIE or FF at best.

Offline

#446 2008-02-27 11:49:36

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: hak_tinymce WYSIWYG article editor

Does this work with tinymce 3.0.2?

Offline

#447 2008-02-27 16:43:46

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

Haven’t had a chance to try it with 3.0.2 yet.


Shoving is the answer – pusher robot

Offline

#448 2008-02-27 16:57:51

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: hak_tinymce WYSIWYG article editor

I tried and it’s not working quite well – some things are ok but all popup windows are broken.

Offline

#449 2008-02-27 17:04:15

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

That’s weird since the popups are controlled by tinyCME code not the plugin


Shoving is the answer – pusher robot

Offline

#450 2008-03-07 11:06:32

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: hak_tinymce WYSIWYG article editor

Looking forward to a 3.0.2 support :-)

Offline

Board footer

Powered by FluxBB