• Hi,

    Great plugin. This is just a suggestion, could you make the top or bottom save button sticky so it’s available without having to scroll top or bottom to save everytime.
    If you are constantly making changes during development, it’s a little frustrating to scroll to top to save, then scroll back to find the code you were editing.

    Thanks!
    Oliver. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi Oliver, thanks for the suggestion. This does sound like a good idea – I’ll see if I can work out a way to achieve this without making it too obtrusive.

    Ideally we are looking at adding AJAX saving at some point, which should reduce the need for this all together.

    Thread Starter mottyo

    (@mottyo)

    Thanks Shea. AJAX saving sounds good. Would also answer my point 2 below.

    A couple of other questions/points:

    1. Is there a shortcode you can use to add a snippit to a page? I’m sure I read an article where this was possible but I can’t see one?

    2. One other suggestion, after saving for the editor to remain where you were, rather than refreshing back to the top. I appreciate that might not be easy but thought I would say anyway.

    Thanks! ??

    Oliver.

    Plugin Author Shea Bunge

    (@bungeshea)

    1. In the current version of the plugin (v2), there is a [code_snippet] shortcode that will display the source code of a given snippet. You can use it as [code_snippet id=42 network=true], exchanging 42 for the ID of the snippet and true for false if you are using WordPress multisite and this is not a network snippet.

    Code Snippets v3 will work a little differently: [code_snippet] will render HTML/PHP content snippets, which will also be introduced in v3, and [code_snippet_source] will always display the source code of a snippet.

    2. This did actually used to be a feature, but it was removed as it was causing issues on some sites. Once AJAX saving is implemented, the snippet will save without reloading the page, so there wouldn’t be any need for this feature.

    We will keep all of these suggestions in mind while we think of ways to better improve the snippet editing process, so thank you for contributing!

    Thread Starter mottyo

    (@mottyo)

    Thanks Shea.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Make Save button sticky’ is closed to new replies.