Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-28 06:28:56

Slaktad
Plugin Author
From: Linköping, Sweden
Registered: 2005-06-28
Posts: 50
Website

joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

This is a plugin that loads the MarkItUp editor into the article body/excerpt textareas.

I haven’t tested it very much, but it seems to work at least in FF and IE6 for now. Please report any bugs related to the plugin.

Currently I’ve created a customized MarkItUp-package for use in Textpattern, however I will try to make the original package work in future versions as it is mostly CSS that is customized.

Current version

0.1.3:

  • Is now using MarkItUp 1.1.6.

Installation

Download the plugin joh_admin_markitup_v0.1.3.txt and the customized markitup-package: markitup-1.1.6-for-joh_admin_markitup.zip. Install and activate the plugin, unzip markitup-txpified.zip in your /textpattern/-directory and you’re set.

Last edited by Slaktad (2010-01-17 09:53:00)

Offline

#2 2008-03-28 16:14:23

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,913
Website

Re: joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

I take it that you used the textile editor?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#3 2008-03-28 17:15:09

Slaktad
Plugin Author
From: Linköping, Sweden
Registered: 2005-06-28
Posts: 50
Website

Re: joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

colak wrote:

I take it that you used the textile editor?

At the moment, yes.

Offline

#4 2008-03-30 13:03:18

keith
Member
From: Blyth, Northumberland, England
Registered: 2004-12-08
Posts: 199
Website

Re: joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

Hi Slaktad,

I’ve installed and activated the plugin, unzipped markitup-txpified.zip and placed the “markitup” folder in Textpattern – but nothing changes.

I’ve played with the folder permissions – up to and including making everything 777, and I get the normal Textile input page.

This isn’t the end of the world – Markitup is just “eye candy” really – but have you any thoughts?

I will provide more details as needed, of course.


Keith
Blyth, Northumberland, England
Capture The Moment

Offline

#5 2008-03-30 13:20:39

Slaktad
Plugin Author
From: Linköping, Sweden
Registered: 2005-06-28
Posts: 50
Website

Re: joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

keith wrote:

Hi Slaktad,
I’ve installed and activated the plugin, unzipped markitup-txpified.zip and placed the “markitup” folder in Textpattern – but nothing changes.
I’ve played with the folder permissions – up to and including making everything 777, and I get the normal Textile input page.
This isn’t the end of the world – Markitup is just “eye candy” really – but have you any thoughts?
I will provide more details as needed, of course.

What browser are you using and is javascript turned on? Do you get any javascript errors?

Offline

#6 2008-03-31 12:41:59

kus
Member
From: madiun, Indonesia
Registered: 2007-03-15
Posts: 64
Website

Re: joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

I get problem too, like keith have. Installing plugins and store the markitup to my textpattern folder, and get nothing after activate joh marjitup plugin.

I am is using Epiphany and Iceweasel. And I get this js error report :

 johTextileSettings is not defined

Offline

#7 2008-03-31 12:49:48

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

Nice. It works good for me. The only issue is that the Markitup textarea doesn’t go 100% width of the original textarea. I have to manually adjust it (this happens for every reload and can be annoying). I think this can be fixed in css. Any hint on this?

Thanks!

Z-

Offline

#8 2008-03-31 17:48:30

joel
Member
Registered: 2004-11-26
Posts: 162

Re: joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

Nice plugin slaktad! :))

Is there any way of add this to the excerpt field as well?

Offline

#9 2008-03-31 18:09:23

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,251
Website

Re: joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

This works for me but certainly slows down the loading of the page it’s on.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#10 2008-03-31 18:41:11

Slaktad
Plugin Author
From: Linköping, Sweden
Registered: 2005-06-28
Posts: 50
Website

Re: joh_admin_markitup: MarkItUp Universal Markup Editor in Txp

kus wrote:

I get problem too, like keith have. Installing plugins and store the markitup to my textpattern folder, and get nothing after activate joh marjitup plugin.
I am is using Epiphany and Iceweasel. And I get this js error report :
bc. johTextileSettings is not defined

I’m sorry, but I have no experience of Epiphany and Iceweasel and have no idea about jQuery support in them. The “johTextileSettings is not defined”-error is most likely triggered when the settings variable isn’t found. Can you find the file ‘set.js’ in ‘[your-base-url]/textpattern/markitup/sets/textile/’ ?

Zanza wrote:

Nice. It works good for me. The only issue is that the Markitup textarea doesn’t go 100% width of the original textarea. I have to manually adjust it (this happens for every reload and can be annoying). I think this can be fixed in css. Any hint on this?

Fixed in v0.1.1.

joel wrote:

Nice plugin slaktad! :))
Is there any way of add this to the excerpt field as well?

Thank you. MarkItUp is now (v0.1.1) also loaded into the excerpt field.

MattD wrote:

This works for me but certainly slows down the loading of the page it’s on.

Unfortunately you’ll have to live with that. Everything’s loaded via javascript, which, as far as I know, is the only way to do this without modifying txp-core files directly.

Offline

Board footer

Powered by FluxBB