Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-10-07 07:44:02

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Trix editor is it useful for textpattern ?

Hi,

I came across this editor https://github.com/basecamp/trix and find it interesting do you think it s useful for teh textpattern project ?

Cheers.

Offline

#2 2018-10-07 11:15:18

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

Re: Trix editor is it useful for textpattern ?

Maybe… From a brief look, it seems as if it converts the content to an internal document model and then writes it back to a hidden input as HTML on saving. It looks like it would have most potential for very simple “text-writing” situations, as things like inline txp:tags may be lost (I’ve not tested that, maybe they survive as code?). There’s another post somewhere on another online service that shows added support for tables. Looked very nice but amounted to a second instance of the editor launched within the editor and the resulting table included in the original by (ab)using the attachment function.

Otherwise it looks/seems way nicer than many of the other popular wyswig-html-editors.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB