Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#331 2007-08-07 03:12:42

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

Re: hak_tinymce WYSIWYG article editor

The tinyMCE install is not modified at all from the version you download from Moxiecode other then adding the txp_image plugin. So anything that works in tinyMCE should work with hak_tinymce.

I could not find a reference to what version of TinyMCE bramus_cssextras needs but you could always try downloading the latest version from Moxiecode and seeing if it works with that.


Shoving is the answer – pusher robot

Offline

#332 2007-08-18 10:40:07

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

Re: hak_tinymce WYSIWYG article editor

Sorry if this has already been asked but how to I put raw HTML or TXP code in my articles when using this plugin?

Offline

#333 2007-08-18 16:02:44

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

Re: hak_tinymce WYSIWYG article editor

You can’t do txp tags. It’s an issue with tinyMCE. I’m trying to find a way around it but don’t have a solution yet.

For html you click on the html button to get to the source.


Shoving is the answer – pusher robot

Offline

#334 2007-08-20 08:50:39

gemal
Member
From: Copenhagen, Denmark
Registered: 2007-01-09
Posts: 107
Website

Re: hak_tinymce WYSIWYG article editor

hakjoon wrote:

I just pushed up version 0.7.2 which fixes the issue with callbacks and 0.4.5. Nothing else changes so you can just re-install the plugin file.

What is the difference between version 0.7.2 and 0.7.3?

I’m running version 0.7.1. Can I just upgrade the plugin file?

Offline

#335 2007-08-20 14:30:17

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

Re: hak_tinymce WYSIWYG article editor

0.7.3 fixes a markup issue that was affecting someone trying to re-style the write tab. It’s a tiny issue.

Nothing changes in tinyMCE so you can just re-install the plugin file.

Also just in case everyone does not know this yet the only difference between the bundled TinyMCE and teh ones released by moxiecode is the inclusion of the txp_image plugin in tiny_mce/plugins/txp_image/ so upgrading to newer releases of the editor directly form moxiecode should be pretty safe.

I tend to only update the bundle when I have time to test the update, just because I don’t want to release a bundle I haven’t tested, but I haven’t encountered a problem yet.


Shoving is the answer – pusher robot

Offline

#336 2007-08-21 18:16:35

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

Re: hak_tinymce WYSIWYG article editor

Hello hakjoon,

Thanks for a great plugin.

But of course i do have a question.

The default setting in the formatselect pull down is set to “–format–”. This produces unstyled text without any formating or wrap tag. Logical of course.
However I would like to change the default setting to “paragraph” so that even with selecting the <p> the enterd text automatically get wrapped as a paragraph.

Is this possible?

Last edited by Timid&friendly (2007-08-21 18:19:11)


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

Offline

#337 2007-08-21 18:39:12

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

Re: hak_tinymce WYSIWYG article editor

The newer version of tinyMCE introduced a forced_root_block function which should do this. You’d have to upgrade the bundled editor, which should be fairly straight forward.

Otherwise I wrote a Save Callback function that will do that for you on save. It will introduce paragraphs as soon as you hit return so it’s only really an issue for single line entries.


Shoving is the answer – pusher robot

Offline

#338 2007-08-23 07:54:29

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

Re: hak_tinymce WYSIWYG article editor

Thx for the answer. Great news.

I only downloaded the plugin 2 days ago so I would have thought that I had the new version?

However where would i locate the appropriate file to manually update, Could you tell me it’s name and folder location please?


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

Offline

#339 2007-08-23 14:21:26

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

Re: hak_tinymce WYSIWYG article editor

hak_tinymce is just a TXP integration of Moxiecode’s TinyMCE editor . So I maintain the TXP integration but TinyMCE is developed on it’s own schedule.

I only bundle versions I have had a chance to test. This is mostly because i know those versions work well together. The bundled TinyMCE install is pristine so it’s easy and so far has been problem free to upgrade the install.

The only extra thing is the image browser, in /tiny_mce/plugins/txpimage/ just drop that in the plugins folder of your new install.

The reason the bundles version somtimes gets out of date is that they release updates when I am busy on other projects and don’t have time to test the new versions.

If anyone who upgrade could report back on success or failure that would speed up including new versions in the bundle.


Shoving is the answer – pusher robot

Offline

#340 2007-08-23 21:12:05

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

Re: hak_tinymce WYSIWYG article editor

I would love to test things for you, but i am having trouble understanding what is required.

I’m a designer not a programmer.

I downloaded the latest version of your TXP plugin AND 2.1.2 and compared the two.

I see indeed that your version has a txpimage/ folder. I found a file called “editor_plugin.js” but have no idea what to replace where.

Am i supposed to take the “editor_plugin.js” from the /tiny_mce/plugins/advimage/ and place it in the /tiny_mce/plugins/txpimage/
?


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

Offline

#341 2007-08-23 21:19:14

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

Re: hak_tinymce WYSIWYG article editor

Let’s say you install my version in textpattern/tiny_mce/ You can then install 2.1.2 in textpattern/test/tiny_mce/ for example.

Copy the whole txpimage folder from textpattern/tiny_mce/plugins/ to textpattern/test/tiny_mce/plugins

In the extensions tab change the location of the tinymce.js to textpattern/test/tiny_mce/tinymce.js

You will now be using the new version on your site instead of the older version. If everything works alright let me know and I can update the bundle. If things don’t work let me know too so I can prioritize fixing it.

Does that make sense?


Shoving is the answer – pusher robot

Offline

#342 2007-08-24 00:13:27

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

Re: hak_tinymce WYSIWYG article editor

ok thx, that makes more sense.

However I got the following fire error readings:-

tinyMCE_GZ is not defined

tinyMCE is not defined
[Break on this error] tinyMCE.init(hak_mceSettings[“body”]);

tinyMCE is not defined
tinyMCE.settings = hak_mceSettings[elementLC]; // this tells tinyMCE which config to use

———

Not working at all

Last edited by Timid&friendly (2007-08-24 00:15:10)


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

Offline

#343 2007-08-24 00:34:16

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

Re: hak_tinymce WYSIWYG article editor

I turned off gzip and it worked again.

But still doesn’t give me <p> formated text “Unless” I do a return after the text. Then it wraps the text with a <p> but adds in additin an extra paragraph <p>text after hard return</p><p>&nbsp;</p>, That isn’t the end of the world but seems odd.

I did however think that new version would automatcally place all content in a block container when Publishing(saving).

Last edited by Timid&friendly (2007-08-24 00:35:16)


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

Offline

#344 2007-08-24 03:04:22

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

Re: hak_tinymce WYSIWYG article editor

You might need to turn that setting on. I don’t think it’s on by default. The callback function on my site works pretty well.

I think the gzip compressor is a separate download.


Shoving is the answer – pusher robot

Offline

#345 2007-08-24 07:58:03

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

Re: hak_tinymce WYSIWYG article editor

In retrospect i realise that this only occurs IF the article contains only ONE sentence. In practise that hardly ever happens, so i guess things are fine. When i get a moment i’ll try and sort out the gzip compressor prob. Probly just want the download installed :-) I appreciate your time thanks

Last edited by Timid&friendly (2007-08-27 06:08:53)


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

Offline

Board footer

Powered by FluxBB