Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: WYSIWYG editor
Thanks to alicson, I can confirm the plugin doesn’t work in Internet Explorer. Any JS/IE wizards can have a look at 10 lines of code and tell me where’s the problem?
(oh, how I wish there was a Javascript Console for IE too)
Offline
Re: WYSIWYG editor
I tested it myself on Internet Explorer 6 SP2 and it worked just fine.
Which browser/version are having problems?
Offline
#27 2005-04-06 20:36:00
- starzabove
- Member
- Registered: 2004-04-13
- Posts: 76
Re: WYSIWYG editor
I can confirm that an entry with an image worked here, in IE6 svc pack 2, as well.
I am also curious as to what isn’t working.
90+ Textpattern installs and still going…
Offline
#28 2005-04-07 00:43:18
- Vitruvius
- Plugin Author
- Registered: 2004-09-21
- Posts: 125
Re: WYSIWYG editor
Before I start let me state that I love Textile. BUT, I still think this has the potential to be a great plugin for a number of reasons
- It will help sell TXP to some of my clients who would otherwise be scared off by Textile (esp for images)
- It has a very good image tool which IMO is better than the one built into TXP
Having tested it on a new install, I think it needs the following (which may or may not be a big ask):
- The Toggle Editor function is great – but on testing it destroyed a post that had originally been entered with Textile. From what I can see it:
- added line breaks all over the place
- added strange ASCII code around some Textile tags – notably em
I order for the editor to be of proper use in TXP we should be able to switch between editors without mixing the formatting up.
- The image tool is very good – it seems easier and more powerful than the std TXP image tool (although other admin / image plugins add quite a few new features) – but again it would be better if the it logged the images in the TXP db so they could be managed with the TXP image tool if needed. Otherwise I’d be afraid of having authors using either system and having two ‘sets’ of images.
Just my comments. But well done micampe – it is a good addition.
Offline
#29 2005-04-07 00:45:47
- Vitruvius
- Plugin Author
- Registered: 2004-09-21
- Posts: 125
Re: WYSIWYG editor
aghh – punbb has fallen over again – can’t edit my post above – but take point 3. and turn it into point 2. and nudge it to the left :)
Offline
Re: WYSIWYG editor
> Before I start let me state that I love Textile. BUT, I still think this has the potential to be a great plugin for a number of reasons
These are the same reasons for which I implemented it.
Having tested it on a new install, I think it needs the following (which may or may not be a big ask):
> # The Toggle Editor function is great – but on testing it destroyed a post that had originally been entered with Textile. From what I can see it:
The problem is that the “Toggle Editor” function is not meant to switch between formatting languages, but only activating/deactivating the editor.
Let me exmplain it better: if you have a Textile post and switch on WYSIWYG, the text is not converted to HTML, it’s still the original Textile, but TinyMCE tries to clean it up for correct HTML presentation, this is what’s causing your problems.
In short you can’t use the WYSIWYG editor for a post wich was previously created in Textile. Maybe I should remove the “Toggle editor” link in this case, what do you think?
> # The image tool is very good – it seems easier and more powerful than the std TXP image tool […] but again it would be better if the it logged the images in the TXP db so they could be managed with the TXP image tool if needed.
This can be done by modifying TinyMCE’s image browser plugin. Will look at some day.
> Just my comments. But well done micampe – it is a good addition.
Thank you
Offline
#31 2005-04-07 11:27:14
- Vitruvius
- Plugin Author
- Registered: 2004-09-21
- Posts: 125
Re: WYSIWYG editor
With the Toggle Editor – maybe a javascript alert warning the user that it might muddle Textile pages. Only pops up when the uses clicks the Toggle Editor link with an article open for editing.
or
If you could store an extra field in the DB you could record which editor was used for which article and make the user use the correct one mmm sounds cumbersome…
?
Offline
Re: WYSIWYG editor
> Vitruvius wrote:
> If you could store an extra field in the DB you could record which editor was used for which article and make the user use the correct one mmm sounds cumbersome…
I’m already using the textile_body field to decide if I should activate the editor on page load, I could use it to entirely disable it.
Offline
Re: WYSIWYG editor
I’de like to drop the MCE portion of this editor and just keep the image utility. This app creates some wickedly bad code.
Offline
Re: WYSIWYG editor
btw; PunBB sucks.
Offline
Re: WYSIWYG editor
I updated the plugin to vesion 0.5 and now it will be completely disabled (not even the Toggle Editor link) if you are editing an entry previously created with Textile.
This should solve some confusion by the users.
Offline
Re: WYSIWYG editor
Hi.
Nice plugin…very useable for clients with no web editing skills.
I found one problem tho, in Safari 1.3 the plugin does not work. I can see the control panel but it doesnt input anything to textarea.
Tried in FF and woked fine.
Both on Mac
Thanks
Last edited by druzli (2005-04-29 10:29:27)
regards,
Agust
Offline