Textpattern Forum

You are not logged in. Register | Login | Help

#1031 2012-07-15 17:50:29

MyKE
Member
Registered: 2012-07-15
Posts: 3

Re: hak_tinymce WYSIWYG article editor

God bless you hakjoon! Thank you for this great extension. I am using Textpattern 4.4.1 and it works perfectly! I hope that you will support newer txp versions because I don’t like textile… ;-)

Edit: But I have found one small problem – I type by czech keyboard and every diacritic I type is shown in html by symbols like this: &#353 ;. I don’t know if is this right or no, but browser show it right as “š”, but I want to show it normal way, not like this code. Is it possible?
I have downloaded czech language for tinymce and uploaded to folder. But when i edit in extension language from “en” to “cs”, tiny mce will dissapear from typing article.

theme : "advanced",
language : "cs",
relative_urls : false,
remove_script_host : false,
.
.
.

could you help me how to change language of tinymce? Thanks.

Last edited by MyKE (2012-07-15 19:26:23)

Offline

#1032 2012-07-16 01:07:09

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,631
Website

Re: hak_tinymce WYSIWYG article editor

The plugin defaults to using numerical entities. If forget exactly why. Wet suggested and it made sense it’s in this thread somewhere. You can change this with the entity_encoding parameter.

I’m not sure why changing the language is making tinymce stop working. The configuration looks fine. Is the language pack in the /langs/ folder? Make sure you don’t have a stray comma or quote somewhere


Shoving is the answer – pusher robot

Offline

#1033 2012-07-16 15:07:38

MyKE
Member
Registered: 2012-07-15
Posts: 3

Re: hak_tinymce WYSIWYG article editor

I have changed entity_encoding to raw and it works, thank you. I have again changed language from en to cs and tiny mce stopped working. I have downloaded official 100% translated tinymce czech language and it is in langs folder, some plugins folder and themes folder. I don’t know where is error, it does’n show any error… :-(
But I have solved main problem, and it was encoding, language is only translation of tinymce GUI I think, so on it doesn’t matter…
Once again, thanks for help =)

Last edited by MyKE (2012-07-16 15:12:01)

Offline

#1034 2012-07-18 20:45:35

photonomad
Member
Registered: 2005-09-10
Posts: 250
Website

Re: hak_tinymce WYSIWYG article editor

I just installed hak_tinymce and the only issue I see is that it will be quite difficult for non-techie people to insert a link within an article to download a file that has been uploaded in the Files tab. Is the file upload feature still planned or in the works? Thanks!

Offline

#1035 2012-07-19 14:21:22

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 542
Website

Re: hak_tinymce WYSIWYG article editor

I also having problems changing the language (using a language pack),
I even tried to trick it by coping the other language code into the English one, but that didn’t changed anything.
So something must be overwrite the language files, any idea?

Offline

#1036 2012-07-19 15:18:11

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,631
Website

Re: hak_tinymce WYSIWYG article editor

I’ll see if I can figure out what’s going on with the language packs.

@photonomad: I would still like to add an integrated linking widget, and potentially integrated file and image uploading but I rarely get a chance to work on this stuff these days.

The code is on github if anyone wants to take a stab at stuff. I don’t on disappearing and stooping support on it but I don’t know how quickly new stuff will happen.

Sorry not the best answer.


Shoving is the answer – pusher robot

Offline

#1037 2012-07-28 17:06:29

photonomad
Member
Registered: 2005-09-10
Posts: 250
Website

Re: hak_tinymce WYSIWYG article editor

Thanks for your reply. Hopefully some other TXP developers might want to take a stab. Integrating image and file uploads from within TinyMCE would solve a bunch of headaches. Then, I could simply hide the txp image and file tabs from users all together to avoid added steps and confusion with caption and description fields, etc. I would definitely be willing to contribute to a ransom!

Offline

#1038 2012-07-28 17:36:41

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 542
Website

Re: hak_tinymce WYSIWYG article editor

photonomad wrote:

Then, I could simply hide the txp image and file tabs from users all together to avoid added steps and confusion with caption and description fields, etc.

Are you aware of these?:
bot_image_upload
bot_file_upload

Offline

#1039 2012-07-28 20:07:08

photonomad
Member
Registered: 2005-09-10
Posts: 250
Website

Re: hak_tinymce WYSIWYG article editor

Yes! I am aware of redbot’s awesome plugins. My question has to do with the fact that many clients want to add pictures and/or files throughout the text in the body of their articles. I’m looking for a really convenient way for them to do this. When you click on TinyMCE’s little photo icon a window opens that allows you to view/select an image from the txp images tab. It’s great because the image is inserted exactly where the client wants it. However, it doesn’t populate TinyMCE’s description field with the caption text that the client already entered in the txp images tab when they uploaded the image. It would be nice for the two to be synced in order to avoid redundancy for clients. I plan to use a jquery script to display the caption/alt text on or below the image.

Your reply has got me thinking of some new feature proposals for bot_image_upload. I’ll introduce my ideas over in that thread to see what redbot thinks! (I will edit this post with a link when I have it)

Bloke may have something in development with jmd_image_selector that might do the trick.

Last edited by photonomad (2012-07-28 21:44:59)

Offline

#1040 2012-07-30 04:38:51

photonomad
Member
Registered: 2005-09-10
Posts: 250
Website

Re: hak_tinymce WYSIWYG article editor

Is it possible to change the order of the attributes that are added to image tags when editing appearance in TinyMCE? I’ve been searching around the TinyMCE site and in all the tinymce files and I can’t find where this is done in the code. It would really be helpful if the image tag would always begin with <img src=" rather than <img style="float:left;" src="

Offline

Board footer

Powered by FluxBB