Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1096 2012-10-12 13:27:47

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

Re: hak_tinymce WYSIWYG article editor

You need to include the table plugin also. In the line that says plugins: add table to that as well.

Best place for docs is the the tinymce site itself but it is a little hard to navigate.


Shoving is the answer – pusher robot

Offline

#1097 2012-11-25 21:05:24

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

Re: hak_tinymce WYSIWYG article editor

Hi!
I have an issue that I can’t save edited articles.
I go to an article, edit the content in the tinymce editor of the body field, save it, got the “Article posted.” message, but it’s not really saving it.
when I turn off the plugin and edit directly in the body field it does works fine, so I believe it’s an issue with the plugin.

TXP 4.5.2
hak_tinymce 1.0.2.1

Offline

#1098 2012-11-25 22:16:39

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

Re: hak_tinymce WYSIWYG article editor

The current version (1.0.2.3) should take care of this issue.


Shoving is the answer – pusher robot

Offline

#1099 2012-11-25 22:53:10

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

Re: hak_tinymce WYSIWYG article editor

Patrick, both the first post here and your website say that 1.0.2.1 is the current version. I wouldn’t know where to send users who wanted to download 1.0.2.3.


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

Offline

#1100 2012-11-25 22:58:31

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

Re: hak_tinymce WYSIWYG article editor

Uli,

Thanks for pointing that out. I must have forgotten to update the listings. The website should give you 1.0.2.3


Shoving is the answer – pusher robot

Offline

#1101 2012-11-26 09:05:18

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

Re: hak_tinymce WYSIWYG article editor

Thanks! works good now :)

Offline

#1102 2012-12-09 09:40:51

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

Re: hak_tinymce WYSIWYG article editor

Some tips:

1. Autoresize
Add the following properties to your initialization:

width: '100%',
plugins : "......,autoresize,......",
init_instance_callback: function (inst) { inst.execCommand('mceAutoResize'); },

The first property makes the width to be 100%,
by adding the autoresize plugin to your plugins makes the height of the editor to grow as the content goes.
The init_instance_callback makes the autoresize plugin to work when the first init takes place.
This is very good and useful when you got a lot of content like a long blog post and so.
Got it from here http://stackoverflow.com/a/12382735

.
2. Paste as plain text by default
Add the following properties to your initialization:

plugins : "......,paste,......",
theme_advanced_buttons1 : "..........,pastetext,...............",
paste_text_sticky: true,
paste_text_sticky_default: true,

It really sucks to tell your client that there is a need to click on the “Paste as plain text” button before pasting,
so this one makes it to be already clicked, and now you and your client can simply paste with no need to take any other action.

Last edited by THE BLUE DRAGON (2012-12-09 09:42:05)

Offline

#1103 2012-12-27 13:14:06

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

Re: hak_tinymce WYSIWYG article editor

TXP tip!
Uploading images to TinyMCE editor using bot_image_upload plugin.

(really simple/easy)

Link: http://txptips.com/upload-images-via-the-write-tab-and-tinymce
Video link: http://www.youtube.com/watch?v=7YfFbfcm_qQ

Please let me know if you find any bug or issues.

Enjoy, happy holidays! :)

Offline

#1104 2013-01-04 12:23:48

dhmax88
New Member
Registered: 2009-08-30
Posts: 7

Re: hak_tinymce WYSIWYG article editor

Hi Patrick

I found a post here from a while ago about adding TinyMCE to glz_custom_fields textareas… I’ve implemented this but the textareas seem to be outputting the html code as text so instead of getting a paragraph I’m getting <p>blahblahblah</p> and if I bold some text it will just output <p><strong> blah blah blah</strong></p>

Any ideas why this would be happening?

Thanks!

Offline

#1105 2013-01-04 20:42:33

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

Re: hak_tinymce WYSIWYG article editor

@dhmax88

On default custom-fields automatically escape HTML, so you need to add the escape="" attribute to your custom fields tags like so:

<txp:custom_field name="good_stuff" escape="" />

Offline

#1106 2013-02-27 19:26:42

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: hak_tinymce WYSIWYG article editor

just noticed some squirrellyness with hak_tinymce and bleeding edge builds… just FYI

Offline

#1107 2013-02-27 19:57:25

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

Re: hak_tinymce WYSIWYG article editor

What kind of stuff are you seeing?


Shoving is the answer – pusher robot

Offline

#1108 2013-04-12 13:24:31

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: hak_tinymce WYSIWYG article editor

hakjoon wrote: What kind of stuff are you seeing?

oops. way to cry wolf… I think I updated to the latest version of the plugin and resolved any issues. Sorry bout that.

btw… Tiny MCE v4 looks quite nice…

Offline

#1109 2013-04-22 07:10:13

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

Re: hak_tinymce WYSIWYG article editor

There is one good man who made this modification plugin

The modified plug hak_tinymce

also Fancybox if we have small image

download link

The modified plug hak_tinymсe. In the browser chrome is a problem – the display window has uploaded images are incorrect size

reed tinymce article (http://www.solo-line.ru/tag/textpattern/)

Last edited by alivato (2013-04-22 07:15:28)

Offline

#1110 2013-05-21 07:18:12

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Re: hak_tinymce WYSIWYG article editor

i’ve installed this plugin, and now when i’m submitting UTF-8 RTL languages article like: Arabic, Hindi, Persian, etc…
Each charector will convert to smethng like &#1662;&#1604;&#1740… to database !
and my database size is going to large arround 12 MB

Offline

Board footer

Powered by FluxBB