Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#385 2007-11-21 16:52:56

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

Re: hak_tinymce WYSIWYG article editor

What browser are you using? Do you get any errors when you click the show editor check boxes?

I’d recommend it trying Firebug and see if it offers any insights (anyone who does web development should have firebug anyway)


Shoving is the answer – pusher robot

Offline

#386 2007-11-23 00:21:04

coopersita
Member
Registered: 2005-09-28
Posts: 68
Website

Re: hak_tinymce WYSIWYG article editor

I added fontsizeselect to the init in the extensions tab, but when I try to use it in the write tab I get unexpected results.

When I first change some of the text’s size, it works fine. The text changes size as expected. If I save the entry, the formatting doesn’t show anymore, and when clicking on the text, the font-size select doesn’t show the current formatting. The font looks small in the editing area, but if I look at the html, it still has the formatting (the entry displays well on the website).

This is a problem because if you decide to change the font size, it just keeps adding another span, instead of changing the existing one. It’s also confusing for people that don’t know to look into the html code to see if the formating took hold or not.

Any ideas of what could be wrong?

Offline

#387 2007-11-23 01:01:19

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

Re: hak_tinymce WYSIWYG article editor

That’s just tinyMCE unfortunately. The only solution is to enable the removeformat button and have people apply that first before changing sizes again. The style plugin does a good job of finding a parent tag and applying styles to that but it won’t create a span for a selection.


Shoving is the answer – pusher robot

Offline

#388 2007-11-23 04:35:30

coopersita
Member
Registered: 2005-09-28
Posts: 68
Website

Re: hak_tinymce WYSIWYG article editor

But in the example in the tinymce site, it works fine (once the style is applied, the text has that size, and the dropdown shows the current size):

TinyMCE site example

While in my textpattern, the style is applied (if you see the html, you can see the span with the right size), but there is no indication of it:

My TXP editor

Offline

#389 2007-11-23 14:55:56

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

Re: hak_tinymce WYSIWYG article editor

The TinyMCE site is using the new beta release, in which they re-wrote all that stuff. I haven’t tried the beta with the plugin but it should work unless they changed the API to create and remove the editor.


Shoving is the answer – pusher robot

Offline

#390 2007-11-23 20:01:39

coopersita
Member
Registered: 2005-09-28
Posts: 68
Website

Re: hak_tinymce WYSIWYG article editor

Sorry to be such a pest, but:

I was using a previous version of the plugin (0.7.2 or 3), when I noticed this happening, so I changed to the latest version of it. Still happening…

Could it be a css conflict?

Offline

#391 2007-11-23 20:44:04

plugmas.com
Member
Registered: 2007-09-05
Posts: 65

Re: hak_tinymce WYSIWYG article editor

It working!! Only active and desactive several times :-)) Im using mozilla. Thanks

Offline

#392 2007-11-23 23:40:19

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

Re: hak_tinymce WYSIWYG article editor

Its really just the tinyMCE version. The latest version of the plugin is not the latest version of tinyMCE. You can use it with the latest version (2.1.1 I think of is) but it will probably have the same problem becuae of uses the same formating code. They rewrote that whole part for version 3 which is in beta and is the one being used for the examples on the site.

The version of tinyMCE included with the plugin is completely stock except for the plugin to access the images so you can replace with the latest version. There are instructions in this thread somewhere on how to do it. Version 3 might be another story though as its a full rewrite and its still in beta.


Shoving is the answer – pusher robot

Offline

#393 2007-11-24 21:44:47

plugmas.com
Member
Registered: 2007-09-05
Posts: 65

Re: hak_tinymce WYSIWYG article editor

Could tinyMCE include emoticons (smilies) ?

Offline

#394 2007-11-26 14:42:24

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

Re: hak_tinymce WYSIWYG article editor

Just use the emotions plugin


Shoving is the answer – pusher robot

Offline

#395 2007-12-04 09:55:10

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 535

Re: hak_tinymce WYSIWYG article editor

Just out of curiosity, have you managed to give any more thought about using <txp: … /> tags in articles with tinymce. I’d love to be able to insert rss_unlimited_categories_list, and slimbox image tags into my articles.

Offline

#396 2007-12-04 14:46:35

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

Re: hak_tinymce WYSIWYG article editor

TinyMCE doesn’t like the colon in the <txp:tags /> I’ve been tried a few things but nothing that works reliably yet. I’m hoping that the rewrite in version 3 makes something like that easier.


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB