Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#805 2010-12-10 19:01:56

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

Re: hak_tinymce WYSIWYG article editor

I think i have a fix in place to deal with the site names not matching. It used to work this way and some point I changed it and it broke things.

The part I’m trying to figure out is the ajax call needs to call out to /textpattern/index.php, so i need to figure out how to point to that url in relation to where the script is being loaded from (which can be various different places).

I could maybe make the endpoint no need to run in an admin context but that kind fo scares me a bit.


Shoving is the answer – pusher robot

Offline

#806 2010-12-20 21:39:41

imd
Member
From: Finland
Registered: 2010-12-13
Posts: 15
Website

Re: hak_tinymce WYSIWYG article editor

Two issues:

1. Is there a configuration option to say tinyMCE to save the text in UTF? What I get, if I put something like “äiti or мама”, tinyMCE saves it as <p>&#228;iti or &#1084;&#1072;&#1084;&#1072;</p>.

The examples over here (http://tinymce.moxiecode.com/tryit/full.php) gets the Cyrillic at least correct, while the umlauts are still coded.

2. I am trying to add extra buttons, like “table” to config at Extensions / hak_tinymce, but nothing happens. Looks like the button images are off the package or something similar. Is it so?

Offline

#807 2010-12-24 13:27:27

imd
Member
From: Finland
Registered: 2010-12-13
Posts: 15
Website

Re: hak_tinymce WYSIWYG article editor

imd wrote:

Two issues: ….

The second has been solved by adding “table” to tinyMCE config (plugins string). The UTF-8 is still an issue — all non-latin characters get encoded with HTML numbers (like finnish ‘ä’ becomes ‘&#228;’). Any way to make tinyMCE do not do it?

Last edited by imd (2010-12-24 13:29:30)

Offline

#808 2010-12-25 16:47:27

imd
Member
From: Finland
Registered: 2010-12-13
Posts: 15
Website

Re: hak_tinymce WYSIWYG article editor

imd wrote:

… The UTF-8 is still an issue — all non-latin characters get encoded with HTML numbers …

Solved. Replacing “entity_encoding : “numeric”“ with “entity_encoding : “raw”“ in “Extensions / hak_tinymce” has helped.

Offline

#809 2011-01-15 01:54:08

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

Re: hak_tinymce WYSIWYG article editor

Hi hakjoon, jagorny, et al –

I’d benefit from the fixes allowing hak_tinymce access when logged into a different admin subdomain (ie. http://admin.domain.com/).

To confirm, it works fine when using http://www.domain.com/textpattern/ but not when using http://admin.domain.com – I just get the spinning circle…

Let me know if there is something useful I can do to help/test/research.

Cheers.

Offline

#810 2011-01-20 16:25:06

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: hak_tinymce WYSIWYG article editor

Really simple question so I am hoping I can get a quick response, I have used the plug in before — but on only new sites — I have a site that has numeroous articles and now client wants this functionality for all new articles moving foward — will install the plug in effect in any way the existing articles —-

Thanks in advance for the feedback and thank you to the plug in author for a great plug in.

progre55

Offline

#811 2011-01-20 17:01:55

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

Re: hak_tinymce WYSIWYG article editor

The editor will stay off unless an article had “leave text untouched” set for the Use Textile setting. If you used Textile or convert linebreaks for the previous articles the editor would need to be explicitly turned on. You can also hide the editor toggles for any old articles that were written with textile.

If you were using “Leave Text Untouched” for the old articles it’s trickier.


Shoving is the answer – pusher robot

Offline

#812 2011-01-20 17:03:12

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

Re: hak_tinymce WYSIWYG article editor

Also just an update I am looking into the issues with different admin domains, just ahven’t gotten very far yet.


Shoving is the answer – pusher robot

Offline

#813 2011-01-20 17:04:54

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: hak_tinymce WYSIWYG article editor

hakjoon:

Thanks for the quick response. I am set for “Use Textile” for the old articles so I think we are good —-

So am I correct, moving foward when they create a new article they will turn on the editor — for each one —-

progre55

Offline

#814 2011-01-20 18:00:34

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

Re: hak_tinymce WYSIWYG article editor

If you set the default preference to “Leave text Untouched” the editor will come on by default for new articles. Otherwise they will have to manually turn it on each time.


Shoving is the answer – pusher robot

Offline

#815 2011-01-26 04:28:09

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: hak_tinymce WYSIWYG article editor

Hello Hak,

I am using Hak_TinyMCE as my WYSIWYG editor for my articles. However, I can’t get a form tag to work: <txp:output_form form=“formname” /> . I’ve Searched this area and couldn’t find a solution yet. Is there?

Thanks much. (Great application you have helped develop.


Living the Location-Independent Life: www.NuNomad.com

Offline

#816 2011-01-26 14:52:19

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

Re: hak_tinymce WYSIWYG article editor

This post links to posts offering solutions for txp: tags (How meta)

I need to pull all this stuff into a wiki or something. Kind of crazy to think this thread’s been here since 2005, it’s pretty out of hand.


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB