Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-07-17 17:47:10

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Textarea Toolbars

Many moons ago, we looked into toolbars for Textpattern, times have changed, better options exists today.

Let me start the ball rolling with some that I’ve found and I’m testing locally.

Summernote
WYSIHTML5

Thanks to daymond for pointing me in their direction – check out the features in FeatherBB, it’s FluxBB with a responsive design architecture among other core enhancements, I’m keeping an eye on this project.

Offline

#2 2015-07-17 21:13:05

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Textarea Toolbars

I contacted Redactor, here is the exchange, it starts at the bottom and goes up.

Art replied

Jul 17, 1:18pm
Hi Bert,

That's pretty much why this license is called OEM — to account for such cases. 
Spinning off the e-Textpattern is permitted use as long as overall product is still 
Textpattern CMS, with or without new bells and whistles. However, if you decide 
to modify Textpattern CMS to Textpattern Calculator (completely different product), 
you'd need a new license for it.

Please let me know if you have any questions.

--
Take care,
Art

Follow us on Twitter @imperavi!

Bert Garcia replied

Hi Art,

So we can distribute our project with Redactor included, as long as a
License file for Redactor is included in the distribution noting that
your software is not Open Source, got it.

Now here's a wrinkle, let's say I take the Textpattern project and add
an E-Commerce spin to it, with plugins, themes, etc. Then I distribute
is as e-Textpattern or whatever name I come up with, how does your
licensing affect what I want to do with Textpattern.

I'm just trying to get a handle of what we'd be up against if we include
your software in our project.

Art replied

Jul 17, 11:42am
Hi Bert,

Thanks for your question. For open source projects there's an OEM license 
available at http://imperavi.com/redactor/download/. The only limitation is that 
Redactor itself doesn't become open source when you purchase this license 
and include Redactor in your product; Redactor remains our intellectual 
property and the OEM license only gives permission 
to integrate Redactor with open source products.

Please let me know if you have any questions.

--
Take care,
Art

Follow us on Twitter @imperavi!

Bert Garcia sent a message

Jul 17, 8:07am
Hi,

We're in a discussion over at the Textpattern CMS forums about Redactor
licensing.

http://forum.textpattern.com/viewtopic.php?pid=293401#p293401

We'd like to include a WYSIWYG toolbar for our users, Textpattern uses
the Textile markup language for articles, and for new users it could
be hard to grasp at first, so we're looking at toolbars.

If we purchased an OEM license for Redactor, monies coming from generous
donations from the community, what restrictions would we be under, if any?

--

Last edited by hcgtv (2015-07-17 21:28:34)

Offline

#3 2015-07-17 21:30:16

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,596
Website

Re: Textarea Toolbars

Thanks Bert, that looks pretty positive…

One concern with Redaktor, or another editor for that matter, is how to handle embedded txp:code, e.g. like smd_macro bits or bits of txp:php, an embedded linklist or what have you… It would be a step back to cripple the body field to only the tags allowed by the wysiwyg editor.

Otherwise, I’d be in favour of a clear and simple solution with minimum ui and not the “Battlestar Galactica” that you get with ck-editor and co. Being able to embed images via drag and drop (like in the redactor demo) would be verrry nice, as would something similar for file downloads. I think it’s on stef’s wishlist but probably not so trivial to do…


TXP Builders – finely-crafted code, design and txp

Offline

#4 2015-07-17 22:31:20

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Textarea Toolbars

I hope, despite of all the current needs for toolbars, that Textile will remain part of Textpattern.

Offline

#5 2015-07-17 22:34:32

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Textarea Toolbars

jakob wrote #293431:

One concern with Redaktor, or another editor for that matter, is how to handle embedded txp:code, e.g. like smd_macro bits or bits of txp:php, an embedded linklist or what have you… It would be a step back to cripple the body field to only the tags allowed by the wysiwyg editor.

Good question, I’m in the middle of clearing the wiki of all foreign language pages, before I suck everything out of it, but I’m going to try Summernote in the backend later this evening and I’ll let you know how it goes.

Offline

#6 2015-07-17 22:41:19

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Textarea Toolbars

hcgtv wrote #293429:

I contacted Redactor, here is the exchange, it starts at the bottom and goes up.

I think it depends on how closely Redactor would interact with Textpattern, because GPL may not mix well with the Redactor license.

How about http://ckeditor.com/ or http://www.alohaeditor.org ?

Offline

#7 2015-07-17 22:42:33

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Re: Textarea Toolbars

GugUser wrote #293438:

I hope… that Textile will remain part of Textpattern.

Anyone who wants to take Textile out of Textpattern has to fight me first. I don’t mind extending the core like we have in 4.6 to allow for Markdown, BBCode or any other custom markup schemes to be used. More choice is better. But, to date, I dislike toolbars of all denominations and have never found one I liked enough to switch from the control of being able to mark content up exactly how I want (95% of the time) without going near a pointing device. Keyboard ftw; mouse slows me down.

Maybe I’ve not looked hard enough or paid enough… ckeditor was closest to something I could stand behind in my limited testing. But since I’m faaaar from the demographic of a typical end user of such a toolbar, I’ll go with whatever anyone tells me to code and is good for the user base.

Last edited by Bloke (2015-07-17 22:47:38)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#8 2015-07-17 22:46:14

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Textarea Toolbars

GugUser wrote #293438:

I hope, despite of all the current needs for toolbars, that Textile will remain part of Textpattern.

The toolbar is a helper for Textile, see CodeMirror, it supports markdown, so we can add Textile to it with no problem using the markdown.js file as a guide.

Offline

#9 2015-07-18 02:21:14

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: Textarea Toolbars

Bloke wrote #293441:

Anyone who wants to take Textile out of Textpattern has to fight me first. I don’t mind extending the core like we have in 4.6 to allow for Markdown, BBCode or any other custom markup schemes to be used. More choice is better.

I made the decision a decade ago to never learn Markdown and stick with Textile. And I still don’t regret it.

Offline

#10 2015-07-18 06:47:36

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Textarea Toolbars

As far as I understand Redactor is a bunch of shortcuts for whatever markup you are using – it doesn’t replace Textile nor would I want it too. For example, you press the ‘bold’ button when some text is selected and it puts the asterisks around it. It’s a helper not a replacement – this is a good thing. We could even allow users to turn the toolbar off if they prefer.

Markitup which I brought up years ago here also does the same thing.

It also means we could lose the Textile help section from the Write page.

Offline

#11 2015-07-18 07:48:23

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Textarea Toolbars

Tangentially – the sister app from Imperavi, their Kube framework looks quite nice. Hadn’t seen that before.

Offline

#12 2015-07-18 08:17:44

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Textarea Toolbars

philwareham wrote #293453:

We could even allow users to turn the toolbar off if they prefer.

Yes, please.

Offline

Board footer

Powered by FluxBB