Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#433 2008-02-05 17:30:15
Re: hak_tinymce WYSIWYG article editor
hakjoon wrote:
Which version of TinyMCE are you using? Is it the one that comes bundled with the plugin or have you upgraded it?
Hakjoon, i just can’t wait for the next release of your plugin :) When are you planning to release it? Will it bundle the new TinyMCE 3.0 in it? I’m so curious to see it in action in txp…
Happily served with Txp: Strampelli.net, Brain Essence, NicolaTranfaglia.com…
Offline
#434 2008-02-05 17:37:36
Re: hak_tinymce WYSIWYG article editor
It will definitely be based on 3.0. I just need time to digest the new API. Anything in particular people want to see?
Shoving is the answer – pusher robot
Offline
#435 2008-02-05 18:04:25
Re: hak_tinymce WYSIWYG article editor
hakjoon wrote:
It will definitely be based on 3.0. I just need time to digest the new API. Anything in particular people want to see?
Great! Looking forward to try it! Something much appreciated would be the possibility to add code directly inside the text, without TinyMCE’s parsing. It would be useful, for example, for inserting tags or plugins…
Happily served with Txp: Strampelli.net, Brain Essence, NicolaTranfaglia.com…
Offline
#436 2008-02-05 18:10:27
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
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
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
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
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