Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#625 2009-10-03 00:12:19

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

Re: hak_tinymce WYSIWYG article editor

The checkbox thing is very weird. Is this on a publicly available server? I’d be happy to see if I can figure anything out if you’re comfortable with giving me temporary access.

If you have firebug you can use the Net tab to see if the tiny_mce js file is 404’ing.

Nevermind it doesn’t work. I think the API calls to instantiate the editor are just too different. You could try the last 2.x release and see if it works better in webkit. http://sourceforge.net/projects/tinymce/files/ I think it’s 2..1.3

I’m making good progress with the 4.2.0 update. If you could have people use firefox in the short term.

Last edited by hakjoon (2009-10-03 00:27:58)


Shoving is the answer – pusher robot

Offline

#626 2009-10-03 05:50:14

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: hak_tinymce WYSIWYG article editor

Bleh. Unfortunately, the hyperlink button still doesn’t work on this. Though, the actual WYSIWYG editor works now. thanks for helping though

Offline

#627 2009-10-09 18:13:26

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

Re: hak_tinymce WYSIWYG article editor

Quick Update. I have a version working with TXP 4.2.0 and the latest TinyMCE. I just need to get the image plugin working now.

If you think there would be value in it without that plugin, I can package up a release while I get that working.


Shoving is the answer – pusher robot

Offline

#628 2009-10-12 09:34:25

amordecosmos
Plugin Author
From: London (Hometown: Vancouver)
Registered: 2004-08-03
Posts: 106
Website

Re: hak_tinymce WYSIWYG article editor

Hakjoon,

You have my vote for a 4.2, latest TinyMCE plugin – even without the image plugin.

And thank you for the version already in service – it has helped my users greatly.

Offline

#629 2009-10-14 01:26:00

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

Re: hak_tinymce WYSIWYG article editor

4.2.0 prerelease seems to mostly be working.

A few things:
  • no image plugin yet (working on it)
  • firebug will report an error when you expand the editor toggle, because txp does not allow plugins to add panes to the list of savable panes. I’m going to try and suppress that for now and hopefully come up with a patch to change that behavior.
  • toggle editor link moved below Textile Help because the help ui callback does not get the current context like the others. I’m going to work on submitting a patch for this as well (this one is easy).
  • this is 4.2.0 only

Please report any problems. If anyone wants to help I have it up on bitbucket now.


Shoving is the answer – pusher robot

Offline

#630 2009-10-14 16:13:52

jelle
Member
Registered: 2006-06-07
Posts: 165

Re: hak_tinymce WYSIWYG article editor

hakjoon wrote:

4.2.0 prerelease

Hi, Patrick. That links delivers a .zip with a whole lot of folders (Users\hakjoon\sites\txp.test\textpattern\hak_tinymce\hak_tinymce-dist\)

….but nothing else :(

Last edited by jelle (2009-10-14 16:14:22)

Offline

#631 2009-10-14 16:40:20

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

Re: hak_tinymce WYSIWYG article editor

That’s no good. I’ll try to repackage it tonight.

New working zip uploaded (damn missing -r option)

Last edited by hakjoon (2009-10-15 14:51:42)


Shoving is the answer – pusher robot

Offline

#632 2009-10-15 10:26:26

amordecosmos
Plugin Author
From: London (Hometown: Vancouver)
Registered: 2004-08-03
Posts: 106
Website

Re: hak_tinymce WYSIWYG article editor

I’m certain that you meant to post this link instead

(And thank you for the update.)

Offline

#633 2009-10-15 14:29:09

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: hak_tinymce WYSIWYG article editor

not sure why but when i try to save existing articles with the new hak_tinymce plugin, i get this error:

Fatal error:

Error: ‘’ is not an integer

assert_int() textpattern/include/txp_article.php:215 array_map() textpattern/include/txp_article.php:56 article_save() textpattern/index.php:141 include()

in /home/xxxxxx/public_html/textpattern/lib/txplib_misc.php on line 2225

when i disable the plugin and try saving, things work. hmm. running 4.2.0 of course.

Last edited by iblastoff (2009-10-15 14:29:34)

Offline

#634 2009-10-15 14:52:39

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

Re: hak_tinymce WYSIWYG article editor

urgh messed up the textile. Steve let me see if i can replicate that. I actually haven’t tried saving with the new version since I figured it didn’t touch that callback.


Shoving is the answer – pusher robot

Offline

#635 2009-10-15 14:57:17

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: hak_tinymce WYSIWYG article editor

hakjoon wrote:

urgh messed up the textile. Steve let me see if i can replicate that. I actually haven’t tried saving with the new version since I figured it didn’t touch that callback.

no problem and take your time! thanks in advance.

Offline

#636 2009-10-16 02:03:05

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

Re: hak_tinymce WYSIWYG article editor

@Steve: I’m not being able to replicate this saving problem.

Found a few other issues. I updated the package to 0.9.1 see if that helps.


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB