Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1093 2012-10-10 19:49:31

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

Re: hak_tinymce WYSIWYG article editor

Make sure your cache refreshed unless the jquery version is off or something.

Either way you can actually just remove that whole block since its only there for 4.5 (should have just suggested that first)


Shoving is the answer – pusher robot

Offline

#1094 2012-10-10 19:59:20

Quimbly
Member
Registered: 2012-07-12
Posts: 22

Re: hak_tinymce WYSIWYG article editor

Cool! It works now, thank you.

I got a 400 Bad Request error when I opened the editor, but it still seems to work.

Much appreciated!

Offline

#1095 2012-10-11 22:27:57

Quimbly
Member
Registered: 2012-07-12
Posts: 22

Re: hak_tinymce WYSIWYG article editor

Next issue:
I want to include some of the advanced controls in the toolbars. For example, the ‘table’ control.

Here’s what I’ve tried:

theme_advanced_buttons3 : "formatselect,separator,table,tablecontrols",

The format-select control is showing, but instead of the table control, I’m just getting separators.

I’m trying to find good documentation for TinyMCE here, but I’m have difficulty.

Any suggestions?

Offline

#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: 619
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,305

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: 619
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: 619
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: 619
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

Board footer

Powered by FluxBB