Textpattern Forum

You are not logged in. Register | Login | Help

#981 2011-12-15 02:39:23

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

Re: hak_tinymce WYSIWYG article editor

Not ATM. I wasn’t doing much work with TinyMCE or PHP for awhile. That being said I’m currently implementing TinyMCE for an internal CMS built on Django and doing a bunch of image integration so I have a bunch of new ideas of how to tie it together on TXP so I’ll probably work on some updates soon.

I’m hosting the project on github so feature requests and bugs can go there now also. Easier for me to keep track of than the forum.


Shoving is the answer – pusher robot

Offline

#982 2012-01-04 23:36:11

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,066
Website

Re: hak_tinymce WYSIWYG article editor

Hi Hak!

I thought of a new use for your vernerable plugin.

I’m starting to use custom fields as adjunct textareas. It would be great if we could…

  1. load tinyMCE on whichever custom fields are textareas (thanks to glz)
  2. load tinyMCE on adi_matrix content editing pages.

And yes, I’d like a pony too. ;)

Last edited by mrdale (2012-01-04 23:36:27)

Offline

#983 2012-01-04 23:49:22

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 814
Website

Re: hak_tinymce WYSIWYG article editor

Hey My Dale – you can load them into whichever Custom Field by using this method in the callback field in the plugin prefs page… not sure about adi_matrix though

Offline

#984 2012-01-05 23:15:41

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 205
Website

Re: hak_tinymce WYSIWYG article editor

Hi hak, nice to see you still about. Your hak_article_image was one of my favourite plugins way back when :¬)

One thing – this is nearly perfect. Is there any way to allow selecting of multiple (or all) images in the Image Add popup?

Last edited by rossharvey (2012-01-05 23:47:30)

Offline

#985 2012-01-09 19:20:15

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

Re: hak_tinymce WYSIWYG article editor

@mrdale: I have to see how adi_matrix works, but I was thinking it could be interesting to allow for an unlimited set of tinymce configurations and maybe turn them on per tab or something, which should also cover the glz_custom stuff. It’s a complete rewrite of the TXP side of teh plugin to handle something like this but it could be pretty powerful.

I’d love to have some specifics for the write tab stuff specially if you use it with bot_cutomize (or whatever it’s called).

@rossharvey: How would you want that to work? I’m planning on digging into the image picker soon. Should it just insert all the images? I was thinking having teh ability to define an image template could be neat.


Shoving is the answer – pusher robot

Offline

#986 2012-01-09 23:27:09

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 205
Website

Re: hak_tinymce WYSIWYG article editor

@rossharvey: How would you want that to work? I’m planning on digging into the image picker soon. Should it just insert all the images? I was thinking having teh ability to define an image template could be neat.

That is music to my ears. I’d be happy to send you a donation as a thank you for the effort (being a photographer, adding images is a huge part of the admin, and unfortunately, compared to WP, TXP really lacks in this area.

The filter by category drop down is exceedingly useful. Please keep that!

Simple Finder/Explorer functionality would be optimal; CMD/CRTL or SHIFT clicking to select multiple images, and CTRL+A for all.

If that’s hard to do, the ability to ‘tick’ the images to embed would be useful.

Offline

#987 2012-01-09 23:45:07

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 814
Website

Re: hak_tinymce WYSIWYG article editor

hakjoon wrote:

I was thinking it could be interesting to allow for an unlimited set of tinymce configurations and maybe turn them on per tab or something, which should also cover the glz_custom stuff.

If I understand correctly, you mean change all the textareas on one tab to use tinymce? I think I’d prefer it to stay the same as I use a mixture of standard textareas and textareas with tinyMCE within the same tab… it comes in handy when you have some text which you don’t want control over the style – like for usage in jquery etc… maybe I’ve misunderstood though

Offline

#988 2012-01-10 02:35:02

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

Re: hak_tinymce WYSIWYG article editor

@tye: the idea is actually the opposite. Right now we have two preconfigured tinymce instances available body and excerpt in the write tab. If you want something different you have to hack it. The idea is to make body and excerpt just two of potentially various tinymce configurations that you can turn off/on for tabs you want. So you can use all the various tinymce enabling features to set it up how you want it to. If you want all textareas the same just turn it on for all textareas, if you want different ones just create different inits that target the specific textareas however you want and turn them on for the tabs you want. This would enable tinymce usage outside the write tab also in theory.

It’s a big rewrite but the idea is to give you more options not less.


Shoving is the answer – pusher robot

Offline

#989 2012-01-10 03:32:17

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 814
Website

Re: hak_tinymce WYSIWYG article editor

See – as soon as I had started writing my post I knew I had misunderstood :)

That sounds totally awesome I’m 100% up for it :)

If you need a site to test on, I have a dev site which make custom use of tiny_mce, bot_write_tab_customize & glz_custom_fields which you can use…

I can load adi_matrix if you like – let me know

Offline

#990 2012-01-19 10:15:32

alivato
Member
Registered: 2011-03-31
Posts: 100

Re: hak_tinymce WYSIWYG article editor

Hello!

Sorry for my English.

To create the article, I use a plugin hak_tinymce
To upload pictures to the server plugin lam_image_uploader

Standard article: text – picture

All pictures that I upload to the server are different sizes (px)
Through the CSS image size is automatically scaled to width = 333px;

??
How do so by clicking on the image, it varies in a modal window to the real size (some jquery plugin).
Saw a similar article, but there had to write special. tags TXP, or …
No duplication of pictures, ie, only one picture, instead of two small. and ball.

Are you interested in it, work through the plug hak_tinymce.
That is, the site editor worked with hak_tinymce without knowledge of the special tags TXP and Textile
??

Or two pictures, but that they created themselves of various sizes.

Last edited by alivato (2012-01-30 10:30:32)

Offline

Board footer

Powered by FluxBB