TinyMCE WYSIWYG Editor

Register an Account
Reply
 
Thread Tools
TinyMCE WYSIWYG Editor
Developed by Yankidank Yankidank is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page
Designed for: Gold 1.0.0
License: Creative Commons Attribution-Noncommercial-Share
Released: 04-13-2009
Last Update: Never
Installs: 59
Uses Module System
Template Edits Not Required
Can Reuse Source Code
Translations Accepted
In Beta Stage
Not Supported by Author
This is my TinyMCE module which still needs some finishing touches to get it working with the latest SVN releases. Please don't post a reply unless you wish to contribute fixes to the module. I will remove any other posts until this module has been completed.

This module is no longer packaged with Pligg CMS because it hasn't been tested enough and the filesize of the module is quite large (1/3 the size of Pligg CMS when zipped).

What is WYSIWYG?

WYSIWYG is an acronym for What You See Is What You Get, used to describe a system in which content displayed during editing appears very similar to the final output. Without WYSIWYG you will see HTML code in textfields, which makes it more difficult for common users to understand and use. An example of a WYSIWYG would be the vBulletin editor used on the Pligg forums for composing posts.

What is TinyMCE?
TinyMCE is a web based Javascript HTML WYSIWYG editor that can be easily integrated into your site. We have packaged all of the necessary javascript files into a module that can be quickly added to your website by just installing the module.



Features of the Pligg TinyMCE Module:
I wanted to design this module to make it pretty basic for posting stories to your website so I chose to remove a lot of the features from TinyMCE. One such feature which users may want to add back in is the ability to insert images or links into posts. I will not be providing instructions on how to add either feature back in so please don't ask. I am working on adding the image button on for the admin page editor (Admin > Manage > Pages), but it seems to be stripping the image url at the moment. If you are really interested on adding links and images to the main submit process you should probably look at how the page editor template and the TinyMCE module relate to figure it out once I get the features working there.

Installation and Uninstallation Notes:
When you install the TinyMCE module it automatically adds html tags to the Admin > Configure > Submit page for the 3 "HTML tags to allow" fields for Normal, Admin and God user levels. I found that for some reason I had to click to edit the field and re-submit them for the site to recognize all of the allowed HTML tags. You may need to do the same after installing the module.

When uninstalling this module you might want to disable the ability for users to manually add the HTML tags to their posts by removing the previously mentioned HTML tags from the Admin > Configure > Submit page.

Download Now

File Type: zip TinyMCE Module.zip (338.7 KB, 3242 views)

Screenshots

File Type: png tinymce-module.png (3.3 KB, 4387 views)

License Agreement

Creative Commons Attribution-Noncommercial-Share Alike License
You are free to Share and Remix this work under the following conditions: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
You may not use this work for commercial purposes.
If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Show Your Support

  • If you like this download support the author by donating.
  • This download may not be copied, reproduced or published elsewhere without author's permission.

Similar Downloads
Download Developer Category Replies Last Post

Comments
  #22 (permalink)  
Old 01-21-2010, 03:21 PM
New Pligger
Pligg Version: 1.0.3
 
Join Date: Jul 2009
Posts: 22
If this is the plugin that comes bundled with the last 1.0.3 version, it just doesn't work when I edit an article, it only works on submit step 2!!!

Will you ever make it work for editing? I readed an article related to it back in 2007 and nothing has been done so far.

Thanks in advance.

PS: doest it work to insert links?
Reply With Quote
  #23 (permalink)  
Old 01-21-2010, 04:03 PM
Casual Pligger
Pligg Version: 1.0.1
 
Join Date: Sep 2009
Posts: 40
well i posted alot of posts about that i even said i will pay to who ever makes a module that works but it seem no one knows how to do it ,,,, because even the module submit pro at pligg shop doesnt work ,,, i do not even know why they sell it if it doesnt work

So me too i hope someone makes a module that makes TinyMCE WYSIWYG Editor with 1.0.3b
Reply With Quote
  #24 (permalink)  
Old 02-02-2010, 09:38 AM
fgome's Avatar
New Pligger
Pligg Version: Latest
Pligg Template: PliggTube
 
Join Date: Sep 2009
Posts: 14
Try website like elance to find a developer to do the mod.
Reply With Quote
  #25 (permalink)  
Old 02-16-2010, 01:19 PM
New Pligger
Pligg Version: 1.0.3
 
Join Date: Jul 2009
Posts: 22
I fixed it for editing. It was an error on the template!
Reply With Quote
  #26 (permalink)  
Old 02-28-2010, 02:41 AM
New Pligger
Pligg Version: 1.0.3
 
Join Date: Feb 2010
Posts: 6
@edoher
Can you remember what the template error was? If you could tell me that would be much appreciated.

In my case TinyMCE is working on submit and in the admin area, but not when editing stories.

BTW I found out that it is quite easy to also enable it for comments but that proved pointless since I cannot find a way to enable HTML for comments.
Reply With Quote
  #27 (permalink)  
Old 02-28-2010, 11:38 PM
FallenAngel's Avatar
Casual Pligger
Pligg Version: 1.0.3b
Pligg Template: Arthemia
 
Join Date: Jan 2010
Posts: 48
Quote:
Originally Posted by ewel View Post
@edoher
Can you remember what the template error was? If you could tell me that would be much appreciated.

In my case TinyMCE is working on submit and in the admin area, but not when editing stories.

BTW I found out that it is quite easy to also enable it for comments but that proved pointless since I cannot find a way to enable HTML for comments.
Works on submit and in the edit stories, help is much appreciated. It also works when you
create an editorial page. But not in comments
Reply With Quote
  #28 (permalink)  
Old 03-03-2010, 12:22 PM
New Pligger
Pligg Version: 1.0.3
 
Join Date: Jul 2009
Posts: 22
Hi:

To fix the edit issue, do the following. In the file editlink_edit_center.tpl of your template, find this line:

<textarea name="bodytext"

and add this next to it: class="bodytext" . Now it should work.
Reply With Quote
  #29 (permalink)  
Old 03-04-2010, 10:47 AM
FallenAngel's Avatar
Casual Pligger
Pligg Version: 1.0.3b
Pligg Template: Arthemia
 
Join Date: Jan 2010
Posts: 48
Quote:
Originally Posted by edoher View Post
Hi:

To fix the edit issue, do the following. In the file editlink_edit_center.tpl of your template, find this line:

<textarea name="bodytext"

and add this next to it: class="bodytext" . Now it should work.
But I am not sure why the functionality does not work, what I mean is all the coloring and font changes
disapear after you submit and goes back to the original appearance.

looks like what I see is not What I get LOL
Reply With Quote
  #30 (permalink)  
Old 05-16-2010, 06:09 AM
Casual Pligger
 
Join Date: Apr 2010
Posts: 47
How to remove (in files)<p> from start and </p> end story?
Reply With Quote
  #31 (permalink)  
Old 05-16-2010, 06:42 AM
ThemesHowTo's Avatar
New Pligger
Pligg Version: 1.0.4
 
Join Date: May 2010
Posts: 11
Quote:
Originally Posted by Kamilo23 View Post
How to remove (in files)<p> from start and </p> end story?
Just don't include the <p> within your Submit configuration, and all <p> also </p> will be removed automatically.

Admin > Configure > Submit > HTML tags to allow to Normal users
Enter any tags you want as long as not <p>
Reply With Quote
Reply

Tags
advanced editor, textfield, wysiwyg

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
TinyMCE WYSIWYG HTML editor not working Gmalone Questions and Comments 3 09-11-2010 08:28 AM
TinyMCE WYSIWYG Module Problem major_killer Questions and Comments 5 03-18-2009 06:20 PM
How to use WYSIWYG editor? bryancxw Questions and Comments 3 07-30-2008 11:02 AM
turn any <textarea> into a powerful WYSIWYG editor. noyp Questions and Comments 0 01-28-2007 11:04 AM
WYSIWYG Editor Simon Questions and Comments 13 07-21-2006 12:38 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development