omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Outline as sidebar or popover?

    Editorial
    8
    15
    7333
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • omz
      omz last edited by

      This isn't exactly what you wanted, but the idea is somewhat similar:

      → Sidebar Notes

      1 Reply Last reply Reply Quote 0
      • jsamlarose
        jsamlarose last edited by

        Ole, you're a saint. Not sure if it's just me, but I can't scroll that sidebar if the text contained within it extends beneath the keyboard's upper edge...

        Regardless, Editorial's continuing to evolve as one of those apps that gives me a warm, fuzzy feeling when I think about getting work done with my iPad. Thank you.

        1 Reply Last reply Reply Quote 0
        • mjakubowiak
          mjakubowiak last edited by

          And is there a chance to have a sidebar showing local pdf file? (like in PDF in Browser). I was trying to rework Wikipedia sidebar, but couldn't force webview to show a local file. I would really appreciaty any help

          1 Reply Last reply Reply Quote 0
          • necropol
            necropol last edited by

            Bouncing off the idea of a sidebar outline, is it possible to have a fully-functioning outliner in the sidebar? A simple one of course, but one that lets you create the basic collapsible hierarchy of notes.

            1 Reply Last reply Reply Quote 0
            • ccc
              ccc last edited by

              Yes.

              import ui
              
              # html from http://www.w3schools.com/jquerymobile/tryit.asp?filename=tryjqmob_lists_collapsible
              
              html = '''
              Copy the html text from the left pane of the page at the url above and paste it here.
              '''
              
              web_view = ui.WebView()
              web_view.load_html(html)
              web_view.present('sidebar')
              
              1 Reply Last reply Reply Quote 0
              • ClareMacrae
                ClareMacrae last edited by

                If I understand what you want, then here's one I wrote earlier: Sidebar Live ToC.

                Do make sure you load the Select Range workflow - this is needed.

                Capabilities:

                • It shows table of contents, based on headings, for the current document in a sidebar panel, next to the editor.

                • The preview is updated automatically as you type, and it preserves its scroll position.

                • Links that you tap on in the preview select the corresponding heading in the document.

                1 Reply Last reply Reply Quote 0
                • necropol
                  necropol last edited by

                  Thanks, Clare. I've actually been playing around with your ToC workflow for a few days now. I like it quite a bit, though for my needs it would be handier if: a) you could call up a ToC for a document other than the one you're currently in; b) you could see not just the header, but a couple of the lines following it; and c) if the sidebar didn't close when you click in the ToC.

                  Even c) by itself would be a huge boon.

                  And thanks too, ccc! I will definitely check that out!

                  1 Reply Last reply Reply Quote 0
                  • necropol
                    necropol last edited by

                    ccc, that HTML outliner is excellent! Thanks again for that.

                    1 Reply Last reply Reply Quote 0
                    • ClareMacrae
                      ClareMacrae last edited by

                      @necropol Are you on the Editorial Beta?

                      I found that when I moved to the Beta, the behaviour of Sidebars changed, and now, when opening a different file (or URL like in the ToC), the sidebar closes. This breaks any workflows that are used to keep open a list of links to files to open quickly.

                      Having said that, in the Beta, the built-in Editorial ToC indicates header levels, which the Appstore version doesn't. As a result, I'm just using the built-in ToC all the time anyway - and have just given up using the other Sidebars I had.

                      1 Reply Last reply Reply Quote 0
                      • necropol
                        necropol last edited by

                        No, I'm just on the regular version of Editorial. Though it is running on a very cantankerous 1st-generation iPad mini...

                        1 Reply Last reply Reply Quote 0
                        • necropol
                          necropol last edited by

                          Ah, I just checked and discovered I my memory of my experience with ToC was in error; the sidebar doesn't close as I move from file to file.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB Forums | Contributors