On 11 Oct 2017, at 17:32, Hussein Shafie wrote:

On 10/11/2017 01:34 PM, Leif Halvard Silli wrote:
What if the XMLmind editors allowed me to create links from valid URLs
in 3 simple steps:

1. Insert/Write/Identify a valid URL in your XMLmind document (Docbook,
    Dita, XHTML);
      * E.g. https://example.com
 2. Select that URL;
 3. Click the Link-creation button.

OK. We'll try implement this RFE in the next version of XMLmind XML Editor.

Super happy to hear!

Voila! Ready! (Although the user may post-edit the link text, if he/she
wants.)

  * Expected code as result, HTML example:
      o <a href="https://example.com";>https://example.com</a>
  * Actual behavior today, HTML example:
      o <a href="???">https://example.com</a>
o In the document, however, the link element has already changed color to blue, so it “looks ready” - which in itself sometimes
        is confusing.
o To actually complete the element, one must perform at minimum 5
        additional steps (after the 3 steps I mention above):
         0. often I find that I need first to reselect the very link
            element;
1. now, go to/look at the editor’s attribute editing interface;
         2. then select the right attribute - href;
         3. then one must select the old content ("???")
         4. and then one must paste the URL into the field)
+ (you might even need to re-copy the URL before you can
                paste it!)
         5. and finally press enter.

Meanwhile when you'll need this feature, think about recording the above sequence of action in a macro and binding last recorded macro to a keyboard shortcut.

This is what I personally do instead of repeating the above tedious sequence over and over.

Tutorials:

* Automating repetitive tasks by recording macros, http://www.xmlmind.com/xmleditor/_tutorial/record_macro/index.html

* Custom keyboard shortcuts, http://www.xmlmind.com/xmleditor/_tutorial/custom_bindings/index.html


Thanks.

 ... snip ...

My justifications for this proposal:

 ... snip ...

 3.

    One of the defacto competitors for WYSIWYG-like editors like the
    XMLmind editors, is intermediate markup such as MarkDown and Wiki
    text.

Yes, that's right and we don't really understand why.

That’s a really interesting comment. It might be because a) certain things - such as links - are sometimes less tedious via MarkDown than via WYSIWYG; b) Markdown does not “get in the way”; c) the authoring enviroment should focus on structure, and markdown achieves that quite brilliantly; d) it looks the same accross all platforms. And more ...

We have created something similar to Markdown and Wikitext called APT ("Almost Plain Text"; https://maven.apache.org/doxia/references/apt-format.html) several years before Markdown and Wikitext were invented. We didn't find APT good enough for authoring advanced documentation, that's why we ended up creating XMLmind XML Editor.

Cool! Did not know.

--
leif halvard silli

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to