Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#349 2007-10-02 07:14:31
Re: hak_tinymce WYSIWYG article editor
thanks, great job hakjoon! works like a charm :)
cheers,
/Anton
Offline
#350 2007-10-03 05:38:26
- fiddle
- Member
- Registered: 2007-10-03
- Posts: 87
Re: hak_tinymce WYSIWYG article editor
Hey guys, plugin is working great. Was curious, is there a way to have the editor always up, instead of having to toggle it on.? thanks..
Offline
#351 2007-10-03 06:21:27
Re: hak_tinymce WYSIWYG article editor
If i have understood you correctly you will find your answer in te preferences panel of the plugin.
I think, therefore I AM, … … er … I think :-?
Offline
#352 2007-10-03 07:20:43
Re: hak_tinymce WYSIWYG article editor
fiddle: I’m not sure this is what you want, but I did the following:
$(document).ready(function(){
if($('textarea#body').html() == '') { hak_toggleEditor('Body'); }
$('#article-tabs p').hide(); // Hide the vertical tabs (since they produce javascript errors)
});
edit: this is done in the postback part of the extention, if that wasn’t obvious ;)
Last edited by Anton (2007-10-03 12:44:34)
Offline
#353 2007-10-03 12:54:31
Re: hak_tinymce WYSIWYG article editor
Set your global use textile preference to “Leave Text Untouched” and the editor will come on by default.
Shoving is the answer – pusher robot
Offline
#354 2007-10-03 12:58:12
- fiddle
- Member
- Registered: 2007-10-03
- Posts: 87
Re: hak_tinymce WYSIWYG article editor
I got it, both Anton and Patricks ideas worked, thanks for the help, appreciate it…
Offline
#355 2007-10-09 14:37:22
Re: hak_tinymce WYSIWYG article editor
The “problem” with “Leave text untouched” is that when unchecking the editor and then saving, the editor switches back on. If you have Textile as default this won’t happen, IIRC.
Offline
#356 2007-10-09 14:55:25
Re: hak_tinymce WYSIWYG article editor
hmm that’s a good point. I might be able to pass the toggle states along with the save. I’ll look into that.
Shoving is the answer – pusher robot
Offline
#357 2007-10-10 23:17:42
- ((slimey))
- Member
- Registered: 2005-06-25
- Posts: 26
Re: hak_tinymce WYSIWYG article editor
Just curious if this is any closer to having a file select option.
Having it work kind of like the image button in this would be awsome to. I only ask because i have a need for it and im sure others would too.
I know the tinymce proper one has a file manager plugin but im guessing that wouldnt work txp.
ANy ideas if its possible to get a file select thing going?
Offline
#358 2007-10-10 23:59:01
Re: hak_tinymce WYSIWYG article editor
I’m having a problem with tinyMCE turning bold to spans instead of strong. Has this happened to anyone else?
Offline
#359 2007-10-11 01:29:08
Re: hak_tinymce WYSIWYG article editor
@Slimey:
Do you mean a file/article browser when creating hyperlinks? If so, that’s been in my backlog for awhile. need to find some time to write it.
I’ve been meaning to re-write the javascript now that I can take advantage of jQuery. I need to get going on it and just do the hyperlink plugin while I’m at it.
@Dale:
Are you seeing that in MoxieCode examples too? (I’m assuming you are running a newer version)
Shoving is the answer – pusher robot
Offline
#360 2007-10-11 02:16:35
- ((slimey))
- Member
- Registered: 2005-06-25
- Posts: 26
Re: hak_tinymce WYSIWYG article editor
Yeah thats an even better idea.
Offline