WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Feature request: text formatting editor controls

[Resolved] Feature request: text formatting editor controls

  • Would this be possible to add some text editor controls like bold, italic, link? Your plugin is able to display formatted text when I enter something like:

    <strong>Wonderful</strong> <em>plugin!</em>
    
    <a title="http://wordpress.org/support/view/plugin-reviews/plugin-notes" href="http://wordpress.org/support/view/plugin-reviews/plugin-notes">http://wordpress.org/support/view/plugin-reviews/plugin-notes</a>

    ,

    but there are no text formatting control buttons.

    https://wordpress.org/plugins/plugin-notes/

Viewing 15 replies - 1 through 15 (of 30 total)
  • Plugin Author jrf

    @jrf

    Would markdown syntax be helpful to you ?

    I haven’t got round to releasing a new version yet, but I’ve nearly finished one which includes mark-down amongst other new features, such as multiple notes per plugin, auto-magic variables etc.

    Anything that would help formatting without manually typing the formatting code will work.

    Would that be easier to use the controls already embedded into standard WordPress visual/text editor?

    Plugin Author jrf

    @jrf

    It’s not that easy to add the controls, especially when you have numerous forms on the page for which you’d want to use them.

    I’ll try to find some time in the next month or so to finish off version 2.0.

    In the mean time you could try the unofficial versions 1.5 and/or 1.6 which already have markdown included: https://github.com/jrfnl/WP-plugin-notes/releases

    Hope that helps.

    I will try that.

    In the meantime, could you add just a minor, maybe a bogus change to the existing official plugin version, make it official 1.2 just to get rid of “This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.” I hope more people will start using this excellent plugin.

    esmi

    @esmi

    Forum Moderator

    maybe a bogus change to the existing official plugin version,

    Um… that kind of behaviour can result in a plugin being removed from the WPORG repository full stop.

    It makes sense and my idea was bad. I apologize. I take “bogus” back, just a minor change then.

    Anything WordPress can do to eliminate that message? This plugin IS working with WordPress 3.8.1.

    Plugin Author jrf

    @jrf

    Let’s just keep our fingers crossed that I can finish v2.0 soon 😉 That version should be a major step up and is the reason the original author has allowed me access to the repo to take over.

    Just to give you some idea:

    New version is a near complete rewrite and will have:

    • Color coded notes (choose your own background color – already included in v1.5)
    • Variable replacement for a number of common things (like link to WP repo for the plugin) (already included in v1.5)
    • Markdown syntax (it’s a tool which will mainly be used by site admins/developers and they often find mark down quicker than html) (already included in v1.5)
    • Ability to change the allowed html tags
    • Note templates which you can set yourself (useful if you want to keep a common format to the notes)
    • Private notes (for your eyes only)
    • Versionnr of a plugin you were on when the note was written/last saved
    • Multiple notes per plugin
    • A choice of display methods for multiple notes (tabbed, accordion, as was)
    • Import/Export of notes
    • Upgrade routine to convert your saved notes to the new multi-note format

    Wow!!! Thanks for doing all this!!!

    Why can’t you make 1.5 official while you are working on 2.0?

    Plugin Author jrf

    @jrf

    Why can’t you make 1.5 official while you are working on 2.0?

    I’ve seen some cases where that version didn’t work so well on WP3.8+, so I’m not too sure that the javascript is completely compatible with the newer jQuery version which has been shipped with WP since 3.6.

    Plugin Author jrf

    @jrf

    If you can confirm that it works for you without issues on WP 3.8, I might just upload it anyway, but not change the official stable version, so people would not get an auto-update notification. How would that be ?

    I will give it a try. What exactly didn’t work well, what should I pay attention to? Will I be able to return back to stable 1.1 and keep my previously entered data if there is a serious issue?

    Plugin Author jrf

    @jrf

    What exactly didn’t work well, what should I pay attention to?

    I seem to remember notes not being saved anymore, don’t remember exactly what else (if anything).

    Will I be able to return back to stable 1.1 and keep my previously entered data if there is a serious issue?

    Not automatically. Please make a backup/export of the plugin_notes record in the wp_options table via phpMyAdmin or something before you upgrade. That way you can delete the new record of the option (and import the exported version) if you’d want to downgrade.

    I am not sure now: will my previously entered user data be in the database if I upgrade from 1.1 to 1.5? And also any similar issues upgrading from 1.1 or 1.5 to 2.0?

    It seems to be easier and safer just to copy/paste my existing notes into a text document than messing up with the database. If I uninstall 1.5, will the uninstall automatically clean up the user data in the database? This way I could just uninstall 1.5, install 1.1 from scratch and copy/paste my data into 1.1 from my text file.

    Plugin Author jrf

    @jrf

    Hi Greybox,

    I’ll try and answer your question, please let me know if you need more info/clarification:

    I am not sure now: will my previously entered user data be in the database if I upgrade from 1.1 to 1.5? And also any similar issues upgrading from 1.1 or 1.5 to 2.0?

    Upgrading
    The plugin contains an upgrade routine to *up*-grade between version, this means in effect that your notes (and once you’ve upgraded – your settings), will still be available after the upgrade. They may be saved slightly differently under the hood, but as a user you should not notice that.

    Downgrading
    The downside of this, is of course that if the saving of notes/settings changes between version (and it has), downgrading will cause problems as old versions will not know how to handle the new note/settings format.

    The new way of saving notes/settings will always overwrite the old settings, so the old format will no longer be available after an upgrade.

    If I uninstall 1.5, will the uninstall automatically clean up the user data in the database?

    Uninstalling
    The original version which is currently in the WP repo does not remove notes/settings form the database on uninstall.
    The newer versions I’m working on, *do*, starting with version 1.5. So if you uninstall version 1.5, any previously entered notes will be deleted.

    It seems to be easier and safer just to copy/paste my existing notes into a text document than messing up with the database. This way I could just uninstall 1.5, install 1.1 from scratch and copy/paste my data into 1.1 from my text file.

    If you only have a few notes, that might well be the easiest way if you are not very comfortable using tools like phpmyadmin.

    Hope this helps 😉

    Smile,
    Juliette

    Thank you!
    I tried to upgrade, but found that inside your 1.6 zip file the root folder name is \WP-plugin-notes-1.6 while 1.1 zip root folder name is different – \plugin-notes folder. How should I upgrade properly?

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘[Resolved] Feature request: text formatting editor controls’ is closed to new replies.