Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2013-03-11 13:29:16
- sacripant
- Plugin Author
- From: Rhône — France
- Registered: 2008-06-01
- Posts: 478
- 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: Haut-Rhin
- Registered: 2004-08-04
- Posts: 4,285
- 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. ;)
Wordworkin’ for you.
Offline
#3 2014-01-23 12:11:24
- sacripant
- Plugin Author
- From: Rhône — France
- Registered: 2008-06-01
- Posts: 478
- 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: 752
- 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,458
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?
Offline
#6 2014-01-24 15:53:05
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,208
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: 752
- 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: 752
- 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,458
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?
Offline
#10 2014-01-25 11:28:07
- Gocom
- Plugin Author
- From: Helsinki, Finland
- Registered: 2006-07-14
- Posts: 4,533
- Website
Offline