Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

MyKE
New 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: 290
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: 619
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
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
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: 290
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: 619
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: 290
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: 290
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

#1041 2012-07-30 18:16:19

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

Re: hak_tinymce WYSIWYG article editor

Not sure if that’s doable. I think that get’s handled by some low level browser code that inserts that stuff.

What are you trying to accomplish, maybe there’s a different approach that would work.


Shoving is the answer – pusher robot

Offline

#1042 2012-08-05 12:25:43

kevinpotts
Member
From: Ghost Coast
Registered: 2004-12-07
Posts: 370

Re: hak_tinymce WYSIWYG article editor

@Patrick — Using version 1.0.2.1 of hak_tinymce on a fresh 4.5.0 beta install and seeing really significant performance problems. Wondering: have you tested this? Am I doing something wrong?

UPDATE: Actually, I take that back. It’s not a time issue, but that I have to click “Save” twice for changes to register.

Last edited by kevinpotts (2012-08-05 12:27:36)


Kevin
(graphicpush)

Offline

#1043 2012-08-09 11:24:32

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

Re: hak_tinymce WYSIWYG article editor

@kevinpotts I haven’t been able to replicate this. What browser are you seeing this having to save twice behavior? The new Ajax stuff could very likely be mucking with things.


Shoving is the answer – pusher robot

Offline

#1044 2012-08-15 08:55:42

elpats
New Member
Registered: 2012-08-15
Posts: 1

Re: hak_tinymce WYSIWYG article editor

hakjoon wrote:

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

I downloaded and installed the French (fr) language pack into the relevant folders and encountered the same problem as previously posted. Once I changed ‘en’ to ‘fr’ (in the hak_tinymce Preferences) the TinyMCE block disappeared from the article (body & excerpt). What I noticed, via the web inspector, was that textpattern > tiny_mce > plugins > txpimage > langs > en.js had failed to load and of course there wasn’t a fr.js in there because it wasn’t included in the language pack. Once I created fr.js and fr_dlg.js then it displayed and worked fine.

Offline

Board footer

Powered by FluxBB