Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-03-11 13:29:16

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 449
Website

[howto] A fullscreen editor for write your article body

I read that recement Destry did not write these articles in the interface “textpattern”. And he used to comfort an external software.

I totally agree with him. The only difference is that I chose to install a full screen editor directly into Textpattern

I share this code on Github . It uses Ace editor and need bot_writ-tab-customize.

The editor provides syntax highlighting for textile. I use it but it is really flawed.
For cons, the syntax for markdown is much more complete.

To get a true full screen, use ‘F11’ browser.

It is certainly possible to make a plugin, but I still have no competence in this field.

I tested this code only in Chrome and Firefox

Hopla !

Offline

#2 2013-05-27 11:20:11

Destry
Moderator
From: Alemannia
Registered: 2004-08-04
Posts: 3,299
Website

Re: [howto] A fullscreen editor for write your article body

That looks like a great option! If Txp never moves to a doubled-pane, then I will definitely look into this as plan B. ;)

Offline

#3 2014-01-23 12:11:24

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 449
Website

Re: [howto] A fullscreen editor for write your article body

Hello,

I updated my script with some improvments
Now it’s 1.0

  • Modifie Editor layout. Now Editor is in left of window. Scroll work better, in all window.
  • Little Js refactoring
  • Better sync between Textpattern textarea and Ace Editor.
  • Added Keyboard Shortcuts
    • esc for close fullscreen Editor
    • ctrl-S || cmd-S for save Article

you can dowload 1.0 Here
Github Code

In my roadmap :

  • Make a Textpattern Plugin
  • Add a white theme for the Editor
  • Add a help list for Ace Editor Keyboard Shortcut.
  • Add a AJAX article preview.

@Admin :

Now this message is in Archive. Not good for visibility. What is a better place?

Offline

#4 2014-01-24 13:40:29

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 567
Website

Re: [howto] A fullscreen editor for write your article body

Sacripant, thanks for the upgrade …

Yes now the message is in Archive. Could you explain me why ?
And now, with the new forum, I don’t get any news from the previous posts where I was registrated …
So, more difficult to read the forum.

Offline

#5 2014-01-24 14:51:52

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,453
Website

Re: [howto] A fullscreen editor for write your article body

sacripant wrote #278390:

@Admin :

Now this message is in Archive. Not good for visibility. What is a better place?

Yes, the ‘How-Tos and Examples’ forum doesn’t exist anymore since the forum upgrade. I’ll try and think of something that will make the how-tos that are still relevant more visible.

Edit: how is this?


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#6 2014-01-24 15:53:05

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 3,882

Re: [howto] A fullscreen editor for write your article body

jpdupont wrote #278437:

And now, with the new forum, I don’t get any news from the previous posts where I was registrated …

Jean-Pol, did that happen even after this point in time? If so, please add your annotations in the linked topic.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#7 2014-01-24 16:23:35

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 567
Website

Re: [howto] A fullscreen editor for write your article body

The last mail from the forum is dated DEC 16 2013.

Offline

#8 2014-01-24 16:42:26

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 567
Website

Re: [howto] A fullscreen editor for write your article body

I just request a email change and I get a mail from this adress : notify@forum.xpattern.net ???

xpattern ?

Offline

#9 2014-01-24 18:59:24

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,453
Website

Re: [howto] A fullscreen editor for write your article body

jpdupont wrote #278452:

xpattern ?

That was the forum installation that was tested before the final upgrade, just another host ;) Can you please post your issue in the topic Uli linked to?


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#10 2014-01-25 11:28:07

Gocom
Plugin Author
Registered: 2006-07-14
Posts: 4,524
Website

Re: [howto] A fullscreen editor for write your article body

The notify@forum.xpattern.net address is correct. That’s what it should be.

Offline

Board footer

Powered by FluxBB