Planning for improved page editor. Please comment on the ideas in this page

See also UsabilityObservation/Wonder how to save

<!> Don't start implementing until 1.5 branch is open or you will create lots of conflicts.

Problems with current editor

Stuff improved in 1.5 is marked with a check mark (./).

Sorted by importance (add stuff that bug you):

Unneeded stuff that take valuable space

Needed stuff that take too much space

Wrong placement

Trivial change and Remove trailing... are located after the form submit buttons. The order should be top to bottom, left to right (or right to left). In current location these might be hidden, and the relation to the rest of the form is not clear.

Correct placement would be:

page name
[edited text...                                                           ]
 comment: [                                                               ]
  add to: [categories]  [ ] trivial change  [ ] strip trailing whitespace
[preview] [check spelling] [save]   [cancel]

Losing editings when using "Preview"

New (and old) users sometimes click links in the preview, and continue to work on another page - forgetting to save their edits.

Save would save the page by just like you clicked the save button. Discard would visit the clicked link.

better preview hints

Maybe preview background is not different enough from the standard background. In classic there is a red draft image that easier to notice, but too distracting to use. Instead of using a draft image, use a different background color - easy to read but easy to see its not a standard page.

Preview mode

When in preview mode, the editor is at the top and the preview at the bottom. The page load and scroll automatically to the preview part. When you want to save, you need to scroll back up to the top, then scroll down to see the save button.

Seems that preview at the top, editor at the bottom make more sense:

  1. Click preview in an editor
  2. Preview opened, no scrolling needed
  3. Read page, scrolling down
  4. Scroll little more to get the editor, or to the end to get the save button

We need to try this, it will be easy when the editor move to the theme, so its easy to move things around.

When using the "Check Spelling" button, the page should scroll to the list of unknown words from the spell-check. It doesn't make sense to skip past the word list and show only the preview for pages where the document is long enough to fill the page.

Stuff to think about

Stuff that need more thinking

Examples in other wikis

Planning for 1.5

Refactoring

Future ideas

In-place editing

Its very hard to edit long pages, because its hard to find a paragraphs in a browser text area. Unlike real editors, there is no search as you type. If we can edit in-place - edit a paragraph inside the page itself, its was much easier.

How it could work:

  1. Click on an edit button near the paragraph
  2. The paragraph is replaced with a text area - no need to open separate editor!
  3. Edit and click save
  4. The new paragraph is sent to the server
  5. Either get the new paragraph with remote scripting, or the new page after the change Do this so it stays Lynx compatible and I'd be pretty happy... can't just be a floaty sized box, the gui browsers are insane when it comes to layout glitches calculated by size...
    • I already done this in in a forum interface in a multi platform way (even IE) using javascript and dom. Basically you send a hidden text area with the page, then when you want to edit, you remove the paragraph and insert the editor instead with addChild etc and unhide the editor. You must prepare for this by giving id or class to elements so you can easily identify them. Check http://nirs.freeshell.org/forum/forum.html (sorry Hebrew only, yes it also RTL :) )

Or:

  1. http://www.appelsiini.net/projects/jeditable/custom.html

  2. when generating the html code, include raw file offset positions and lengths of a displayed section/paragraph and the page revision.
  3. the editied sections gets sent to the server and replaces the section in the raw file thereby generating a new revision of the page. of course, you need to check the revision to avoid concurrent edits.

Markup toolbar

Instead of the help, we can have kind of toolbar that let you add markup with a click of a button, or at least see the markup when you hover on a command - something like media wiki.

I don't think it makes sense having to many different editors. There are basically two kinds of people: the ones knowing and caring for wiki markup and the ones who don't know and don't care. Therefore we need 2 editors:

A markup toolbar that add markup for you can help you learn how to use wiki markup, and is much easier to do and will be much faster and compatible with many browsers, unlike WYSIWYG editors.

Separate editor for acl

In most cases, we send acl lines to a user that can not edit them. When they try, they can't save. This is not very user friendly. This does not save space in the editor but just remove few lines you can't and probably don't even know how to edit.

Editor for processing instructions and pragmas and other meta data

Unlike acl, you can edit those always, but you don't need too in most edits. These are more page meta data we keep in the page text. We can replace with a form:

-- ThomasWaldmann 2005-05-08 11:03:22

actions

while I recognize I always scroll down to save my new comments I wouldprefer the "Save changes" "Preview" and so on duplicated on bottom ofthe text window above the Comment line. -- ReimarBauer 2005-10-15 20:09:38

Switch to the open source Dojo editor, same WYSIWYG editor as Jot.com

I used the WYSIWYG editor on Jot.com ( demo and link to main Dojo site) and it's quite amazing. I've been playing with it and I haven't encountered ANY problems. Their goal is zero data loss and perfect correllation between WYSIWYG editing and submission. The Jot team is sponsoring the project with money, and there are a few dozen active contributors. I know a lot ofwork has gone into the current editor in 1.5, but perhaps the bugs can be fixed rather easily by switching to an editor that may already have the lingering bugs (especially the spacing issues) hammered out? Maybe worth a look? -- RyanK 2024-04-27 09:42:04

MoinMoin: EditorRedesign (last edited 2012-11-08 03:29:49 by dsl-98-143-210-246)