Hak tinymce - TinyMCE integration for Textpattern

Overview

This plugin adds a TinyMCE based WYSIWYG editor to Textpattern.

Installation

  1. Upload the included TinyMCE distribution to somewhere in your document root. The default location is in your /textpattern/ directory.
  2. Install the plugin included in hak_tinymce.txt and activate it. Installing plugins
  3. Go to Extensions → hak_tinyme and run the installation.
  4. If you placed TinyMCE somewhere other then in /textpattern/ you can set the location now

Behavior

  • The editor will not come on by default on blank articles if “Use Textile” is selected in the Preferences. If you want to use the editor all the time change the default to “Leave text untouched”
  • If textile is turned on it will be disabled if you toggle the editor on. Conversely if you turn Textile back on it will turn off the editor.

Configuration

A hak_tinymce tab is available under extensions with the following options.

  • Show editor toggle.
    • Determines whether to show the Toggle Editor link. Default is yes. The toggle is automatically hidden if you disable the editor for the article body and the article excerpt below.
  • Hide editor toggle when editing articles created with textile or convert linebreaks.
    • Determines if the Toggle Editor link should be available when editing articles that where created using textile or convert linebreaks. Default is yes.
  • Hide “Use textile” Dropdowns
    • Determines if the “Use Textile” Dropdowns should be hidden. Default is yes.
  • Path to tiny_mce script
    • The path to the TinyMCE script to use. Should be either relative to /textpattern/ or to your document root.
  • Enable for article body:
    • Determines if the editor can be activated for the Article Body.
  • Initialization for article body editor:
    • The initialization block to use for the article body editor. Configuration documentation can be found on the tinyMCE site.
  • Enable for article excerpt:
    • Determines if the editor can be activated for the Article excerpt.
  • Initialization for article excerpt editor:
    • The initialization block to use for the article excerpt editor. Configuration documentation can be found on the tinyMCE site.
  • Callback functions
    • Allows you to add functions that can be used by TinyMCE callbacks.
  • Use the Gzip Compressor
    • Determines if the Gzip Compressor should be used.
  • Initialization for Gzip compressor
    • The Initialization block for the Gzip compressor. Documentation can be found on the tinyMCE Site

Uninstall

You also have the option to uninstall the preferences table that is created during installation. The TinyMCE installation needs to be removed manually.

Default initialization string

This new version uses a mostly stock initialization string with a few exceptions.

  • convert_fonts_to_spans is set to true because we all should try to use font tags. This can be overridden in the init blocks.
  • The TXPImage plugin replaces the standard image insert dialog. This can be overridden in the init blocks.
    document_base_url is automatically set to the value of Site URL. This can be overridden, but should not be necessary.
  • mode is set to none so that the toggles work. This cannot be overridden or else the toggles will not work properly

Inserting images with TXPImage

TXPImage is a custom image browsing plugin that integrates into the TXP backend. It allows you to browse your image categories and insert either the thumbnail or full size images for each image. It is hopefully easy to use.

You might also like...
Oui cookie - Cookie management plugin for @Textpattern

oui_cookie Introduction Set, check, read, reset or delete cookies manually or through GET/POST parameters. . According to the EU legislation, some coo

Arc social share - A Social Bookmarking Plugin for Textpattern

arc_social_share A Social Bookmarking Plugin for Textpattern; easily add links for sharing content with numerous social networks. arc_social_share 1.4

Unicode-url-for-Textpattern - Plugin for using unicode urls instead of transliterations to ASCII characters

Unicode-url-for-Textpattern Summary textpattern plugin wcz_utf8_url – uses UTF-8 permlinks instead of transliterated ones for SEO Features automatical

Rah sitemap - XML sitemap generator for Textpattern CMS

rah_sitemap Packagist | Issues | Donate Sitemap plugin for Textpattern CMS. Generates Sitemaps.org XML sitemaps for your site, which help Google and o

Arc meta - Textpattern plugin for meta tags to improve site SEO and social marketing.

arc_meta A Textpattern plugin for meta tags to improve site SEO and social marketing. arc_meta adds meta fields to your article, section and category

Rah memcached - Store parts of Textpattern CMS templates in Memcached

rah_memcached Packagist | Issues | Donate A plugin for Textpattern CMS that stores parts of your templates in Memcached, a distributed in-memory key-v

Rah cache minify - HTML compressor module for rah cache Textpattern CMS plugin

Minify module for rah_cache This is a minify module for rah_cache, a full-page caching solution for Textpattern CMS. Rah_cache_minify will minify HTML

Rah cache - Cache Textpattern's dynamic pages as flat files

rah_cache Packagist | Issues Rah_cache is a simple, experimental full-page caching plugin for Textpattern CMS. It caches Texpattern’s dynamic pages as

Etc cache - Cache plugin for Textpattern CMS

etc_cache Download | Packagist This Textpattern plugin provides an events-driven cache solution for Textpattern CMS. Textpattern is fast, but when you

Comments
  • Installation instructions

    Installation instructions

    Hi - Thanks for the great plugin, I've used it on a few TxP sites now.

    I'm upgrading an installation due to problems with Firefox 11 and old versions of TinyMCE. When following the installation instructions, it says "2. Install and activate the plugin found in hak_tinymce.txt" but there is no file with that name in the fileset.

    Does it mean hak_tinymce.php? Pasting the contents of hak_tinymce.php into Textpattern's new plugin field results in an error: "Badly formed or empty plugin code".

    This is the first time I've tried to install from GitHub rather than your website, so apologies if I'm just doing it wrong!

    Cheers, Nick

    opened by fcswebsites 2
  • Store last selected image category

    Store last selected image category

    Have txpimage plugin saves the last selected image category into a cookie and restores it once the “Insert/edit image” popup is opened once again?

    This would help people find their way around larger image collections.

    TXPimage 
    opened by hakjoon 0
Textpattern-installer - Textpattern plugin and theme installer for Composer

Textpattern Installer for Composer Package directory | Issues Install plugins and themes to Textpattern CMS with Composer. $ composer require rah/rah_

Jukka Svahn 7 Apr 14, 2022
Allow SVG images to be used in Magento CMS blocks and pages via the TinyMCE Wysiwyg Editor.

Hyvä Themes - SVG support for the Magento CMS Wysiwyg Editor Allow SVG images to be used in CMS blocks and pages via the TinyMCE Wysiwyg Editor. hyva-

Hyvä 14 Dec 15, 2022
Silverstripe-tinytidy - Control which styles are available in TinyMCE's style dropdown menu and what elements they can be applied to

TinyTidy for SilverStripe This module mainly serves as an example of how to customise the 'styles' dropdown menu in the TinyMCE editor to control whic

Jono Menz 30 Jul 30, 2020
TXP-Tweet - arc twitter - Twitter-Textpattern integration

TXP Tweet This is TXP Tweet, a collection of Textpattern plugins for Twitter integration. TXP Tweet consists of two plugins: arc_twitter (the core Tex

Andy Carter 11 Sep 20, 2021
Wp-to-txp - @WordPress to @Textpattern dev guide

WordPress to Textpattern dev guide Helping poor WP devs to find their track… Contents Themes development Plugins development Related Awesome Textpatte

Nicolas Morand 2 Jan 10, 2020
MassPlugCompiler - Textpattern CMS plugin compiler

mtxpc mtxpc compiles Textpattern CMS plugin sources into installer packages. Supports multi-file structure and a JSON manifest file. Install Using Com

Jukka Svahn 5 Apr 15, 2022
Ied plugin composer - Inspired Plugin Composer: Create, publish and edit plugins from within Textpattern CMS.

ied_plugin_composer Create, publish and edit plugins from within Textpattern CMS. Creates a new page under the Extensions tab where you can edit and e

Stef Dawson 8 Oct 3, 2020
Rah backup - Takes backups from Textpattern CMS installations

rah_backup Packagist | Twitter | Donate Rah_backup keeps your important site safe from disastrous events. Rah_backup is an admin-side backup utility p

Jukka Svahn 5 Apr 24, 2022
Pat eu cookies law - 🌝 EU Cookie Law Compliance: A Textpattern plugin (or standalone script) for Third-Party Cookies (RGPD compliance)

pat_eu_cookies_law EU Cookie Law Compliance: A Textpattern plugin (or a standalone script) for Third-Party Cookies. A simple solution that respects th

Patrick LEFEVRE 3 Aug 16, 2020
Pat if amp - ⚡ A Textpattern Conditional Plugin for Google's Accelerated Mobile Pages Project (AMP)

pat_if_amp Download | Packagist AMP pages for Textpattern CMS. This conditional tag examines the URL of the current page and determines if the URL end

Patrick LEFEVRE 4 Dec 15, 2019