You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Jürgen Weber (JIRA)" <ji...@apache.org> on 2009/12/23 18:54:29 UTC

[jira] Created: (JSPWIKI-622) add menu with available editors to Edit button

add menu with available editors to Edit button
----------------------------------------------

                 Key: JSPWIKI-622
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
             Project: JSPWiki
          Issue Type: Improvement
          Components: Editors
    Affects Versions: 2.8.3
            Reporter: Jürgen Weber


If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).

There should be  a drop out menu in the Edit button, like for the More button

Edit
 plain
 FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795970#action_12795970 ] 

Dirk Frederickx commented on JSPWIKI-622:
-----------------------------------------

@Jurgen,

"Inconvenient" would be if you need to repeat the 5 step process all the time. 
Typically, a user would set its preferred editor, and not change it all the time. So this sequence would only occur once.

I agree with Janne, that as soon as the "intermediate save" feature is available, it could be useful to bring the editor-switch back to the editor page.


=> Suggest to keep this open for the time being, and list it as candidate for v3.1.


dirk

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Jürgen Weber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795796#action_12795796 ] 

Jürgen Weber commented on JSPWIKI-622:
--------------------------------------

Janne:

There could be an entry in profile [x] show all editors in Edit menu

I think allowing to switch editors in-edit would go to far. It should suffice to switch editors after saving.

Dirk:

1. Rember that you can switch editors in the profile
2. click profile
3. select editor
4. click save
5. go back to the page you want to edit.

I call that inconvenient. 8-)

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Jürgen Weber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795790#action_12795790 ] 

Jürgen Weber commented on JSPWIKI-622:
--------------------------------------

The idea is that "edit with" selects an editor at start of editing, so there is nothing in the editor that can be lost.

I think it is better to give a user the option to select an editor each time she starts editing. Currently I never switch editors because it's way too inconvenient to go the profile.

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795801#action_12795801 ] 

Janne Jalkanen commented on JSPWIKI-622:
----------------------------------------

Mm... I think it gets way too complicated if there are lots of options and buttons.  It should do the right thing automatically.

The idea behind putting it in the profile is that you set it once and then you keep using the same editor all along. Now, if you are the type who wants to switch between one editor to the next while editing, then yeah, then this doesn't work for you.  But having a temporary save feature (like JSPWIKI-499) would solve this fairly neatly. 

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Andrew Jaquith (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796055#action_12796055 ] 

Andrew Jaquith commented on JSPWIKI-622:
----------------------------------------

Murray, good points.

Yes, simplicity is important. I mentioned WordPress with that notion in mind.

Also, you are correct to say that we'd integrate with the workflow classes. If you have a place to save drafts, you can then make page-save workflows much more lightweight. That means you can finally persist them.

It's fair to say that the "drafts" feature is a prerequisite of persistent workflows. 

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795795#action_12795795 ] 

Dirk Frederickx commented on JSPWIKI-622:
-----------------------------------------


Ok, understood.

Why do you say it is too inconvenient to go the profile ?

dirk

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Murray Altheim (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796049#action_12796049 ] 

Murray Altheim commented on JSPWIKI-622:
----------------------------------------

If this feature goes ahead, I'd hope that this would be integrated with the workflow feature so that the document cycle was managed more than simply a sequence of status states.

I would caution though that in my experience JSPWiki 2.8 is already light years ahead of most users in complexity, and if anything, simplifying is much more important. Very few of my users could possibly be considered "advanced" (and they are intelligent professionals:  librarians).

That is, unless you are explicitly designing a tool for use by software developers. 


> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Andrew Jaquith (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796048#action_12796048 ] 

Andrew Jaquith commented on JSPWIKI-622:
----------------------------------------

I echo Janne's comment. A "drafts" feature would enable a lot of things. The idea would be that when a user creates a page, a new JCR Node is added to a private "drafts folder."

Some rather unfinished first thoughts about this:

The drafts folder, essentially, would be a JCR path that would be unique for each user. Something like /drafts/${uid}/${pagename} for authenticated users, or /drafts/untrusted/${username} for unauthenticated or asserted users.

New pages would go in the drafts folder, as would any "background-saved" pages in progress. The action of saving might be split, like WordPress does, into saving the draft versus "publishing" the finished doc. Maybe.

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Jürgen Weber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795978#action_12795978 ] 

Jürgen Weber commented on JSPWIKI-622:
--------------------------------------

> Typically, a user would set its preferred editor, and not change it all the time. 

The point of this bug is that I doubt this.

I'd like users to have the option of having an editor choice for each page edit.

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794172#action_12794172 ] 

Janne Jalkanen commented on JSPWIKI-622:
----------------------------------------

I believe we used to have this, but it was changed somewhere in 2.6 line as it was a bit confusing to the users. Dirk, can you comment?

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Stefan Bohn (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796637#action_12796637 ] 

Stefan Bohn commented on JSPWIKI-622:
-------------------------------------

Hi All,

I would also like to select an editor if I start editing a page.

So, if I want to change the content of a page, I can use eg. FCK

And if I want to change the layout/style of a page, I can use plain. Because with FCK there is no way to insert %%columns or %%(color: red) and so on.

Also, if I use the "Source"-Button of FCK, it shows the HTML-Source, not the JSPWiki-Syntax-Source.

If it is too confusing for the "normal" user, we could let choose the user a default editor in the preferences and -like Jürgen suggested- add a checkbox "Show all editors".

Only, if the checkbox is selected, the editor-drop-down should be shown.

Stefan 

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796005#action_12796005 ] 

Janne Jalkanen commented on JSPWIKI-622:
----------------------------------------

Dirk, agreed. Let's make it really good.

Jürgen: my experience suggests that only very advanced users are willing to switch between editors all the time.  You are probably a very advanced user though, so I completely understand your wish.  Can you help us in building this feature, with

1) addition of a "draft" edit status (goes into the repo under a special path, tied to an user)
2) addition of a editor capable of sending the draft state to the server?

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Jürgen Weber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796176#action_12796176 ] 

Jürgen Weber commented on JSPWIKI-622:
--------------------------------------

Janne: Thanks for your confidence, but I am not fluent enough in JavaScript to be able to make changes in JSPWiki's sophisticated JavaScript/Java interplay

Also, I actually do not see the relation between Workflow and quick selection of editors.

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803471#action_12803471 ] 

Dirk Frederickx commented on JSPWIKI-622:
-----------------------------------------

Stefan,

Your point on the "source-button" made me think of an alternative.  Let's integrate a wysiwyg editor inside the plain editor.
That shouldn't be to hard...

That way the user doesn't have to make a choice between using wysiwyg or markup, but can switch at all times during edit.

1)
The plain editor would start e.g. in markup mode, allowing to insert markup and have live-preview showing the real looks.

2)
When switching to wysiwyg via a toolbar button, the user would have a simple wysiwyg editor, with live-preview showing wiki-markup 
(? is this useful)


Still, this looks very much like a v3.1 feature ;-)

wdyt?
dirk

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795787#action_12795787 ] 

Dirk Frederickx commented on JSPWIKI-622:
-----------------------------------------


The editor-selection dropdown was removed from the editor UI because while changing from one editor to another, all edit actions are lost.  Basically, you restart editing.

The selection of the editor is part of the UserPreferences.
In a typical use-case, a user would select once its preferred editor, and just use that for all its further edit actions.


Suggest to mark -dont-fix-

dirk


> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-622) add menu with available editors to Edit button

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795793#action_12795793 ] 

Janne Jalkanen commented on JSPWIKI-622:
----------------------------------------

But if there are say, three or more editors (e.g. plain, wikiwizard, and fck), won't it confuse the users to have an editing button for each of them?

I propose that we tie this with the automatic save functionality, that when the user wants to switch editors, we send the current edited text and refetch with the new editor. Then it does not matter when you choose the editor.

However, that's a 3.1 feature.

> add menu with available editors to Edit button
> ----------------------------------------------
>
>                 Key: JSPWIKI-622
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-622
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Editors
>    Affects Versions: 2.8.3
>            Reporter: Jürgen Weber
>
> If you have installed FCKEditor, you only can switch between editors by going to user preferences. You might want to use different editors in different situations (e.g. plain editor for complicated tables).
> There should be  a drop out menu in the Edit button, like for the More button
> Edit
>  plain
>  FCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.