Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1009 2012-03-22 15:36:57

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Re: hak_tinymce WYSIWYG article editor

mrdale wrote:

Just noticed that there’s an issue with multiple instances of tinyMCE on firefox 11, which requires you to load the latest beta version in order to fix.

I find out that too yesterday, is there some way to fix it?

Offline

#1010 2012-03-22 18:43:18

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

Re: hak_tinymce WYSIWYG article editor

Does updating tinymce to 3.5b2 not take care of it?


Shoving is the answer – pusher robot

Offline

#1011 2012-03-27 20:16:51

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: hak_tinymce WYSIWYG article editor

floodfish wrote:

If I edit the Initialization blocks my edits are successfully saved to the database, and they load back into Preferences page.

But my Write tab is still getting the default config, ignoring whatever’s in the prefs table.

This is on a bleeding-edge dev version of Textpattern—and if that might be causing the problem, I’d be curious if anyone knows why.

If anyone’s wondering, my preferences did start loading after a few days of fidgeting (not sure why), but now i realize there’s a bigger problem as a result of the new Ajaxified article saving. Basically, edits to the article via TinyMCE aren’t saved.

I tried updating the plugin type to 4 or 5 as per http://forum.textpattern.com/viewtopic.php?pid=258395#p258395 but that didn’t work either.

Last edited by floodfish (2012-03-27 20:17:49)

Offline

#1012 2012-03-27 20:48:39

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

Re: hak_tinymce WYSIWYG article editor

The ajax article saving might fundamentally break TinyMCE since it hijacks the Form Post in order to copy the content inside the editor back into the textarea before it posts.

I’ll have to see if there is some way to intercept the ajax save but I haven’t played with the new stuff yet.


Shoving is the answer – pusher robot

Offline

#1013 2012-03-28 06:55:37

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: hak_tinymce WYSIWYG article editor

hakjoon wrote:

I’ll have to see if there is some way to intercept the ajax save

We have a callback to start with.

I am currently collecting ideas from plugin devs regarding ajax partials and related methods which help plugin authors to override the default behaviour. Please contribute here.

Offline

#1014 2012-03-30 09:12:39

joyofweaving
New Member
Registered: 2012-03-30
Posts: 1

Re: hak_tinymce WYSIWYG article editor

This may have been discussed but with 102 pages of posts and a bajillion results when I do a search, I thought I’d take a chance and just ask.

Recently I was having a problem with tinymce stripping out some code I needed so I went to the admin panel and changed the preferences to use the textpattern default editor. After making what changes I needed, I went and turned it all back on. Don’t ask me the sequence of toggling this or that cos I simply can’t remember what I did.

I turned everything back on and now when I visit the ‘write’ page to post any articles or edit old ones, the tiny_mce is there but the cursor doesn’t show up and neither does any text and I can’t type new stuff in the window or see anything already there unless I toggle the editor using the toggle links. I tried uninstalling and reinstalling the hak but to no avail.

Is there a way to fix this?

txtpattern 1.4.1 with hak_mce 1.0 Doesn’t matter what browser I use, it’s the same on all of them.

Offline

#1015 2012-03-30 12:33:16

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

Re: hak_tinymce WYSIWYG article editor

I’ve never run into this before. I’d check for JavaScript errors to see if something is interfering with tinymce. If there is a way for me to access the site I’d be happy to take a look.


Shoving is the answer – pusher robot

Offline

#1016 2012-03-30 15:07:10

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: hak_tinymce WYSIWYG article editor

Patrick, you’ll be interested in this and the following post (for a description of the problem see first post).


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1017 2012-03-30 17:50:14

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

Re: hak_tinymce WYSIWYG article editor

Ah the FF 11 error. Seems that only enabling one editor at a time fixes it. The reports on what version works is very confusing. Some people report 3.4.x works other say you need the beta, others say teh beta doesn’t work either. Not sure what to do about it.


Shoving is the answer – pusher robot

Offline

#1018 2012-03-30 23:54:35

fbox
Member
From: Melbourne
Registered: 2006-02-18
Posts: 42

Re: hak_tinymce WYSIWYG article editor

Hi Patrick,

One of the sites was using TXP 4.4.1 with hak_tinymce 0.9.9, with the error occurring on FF11. Turning off the toolbar for the article excerpt worked in this case.

A lot of the references I’d found in Google for the post mentioned above were for other CMSs using TinyMCE. The bug has also been submitted to Moxiecode (http://www.tinymce.com/develop/bugtracker_view.php?id=5089), who in turn have contacted bugfixers at Mozilla (https://bugzilla.mozilla.org/show_bug.cgi?id=736952), who are got their heads around it and apparently addressed the root cause in a nightly build (for testing only in FF 12 Beta) about a week ago.

Offline

#1019 2012-04-06 11:17:40

aliceaod
Member
Registered: 2011-07-11
Posts: 18

Re: hak_tinymce WYSIWYG article editor

Hi, it’s me, joyofweaving. Thanks. I disabled the editor for the excerpts in extensions > hak_tinymce >Enable editor for article excerpt: NO and all is well again. Awesome plugin. Much appreicated

Offline

#1020 2012-04-11 02:47:25

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

Re: hak_tinymce WYSIWYG article editor

I just uploaded an updated package that includes TinyMCE 3.4.9 which is the lastest stable. It works on Firefox 11 for me. Please report problems/success. The reported version should be 1.0.2.1

Nothing else changed just the bundled package. I’m hoping to start testing all the upcoming ajax stuff in 4.5 to make sure everything works. I’m not doing much PHP these days so it always takes me forever to get my dev environment back up and running.

Last edited by hakjoon (2012-04-11 02:47:52)


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB