paulrosen / abcjs

javascript for rendering abc music notation
Other
1.93k stars 284 forks source link

How to activate editor in abc-notation plugin? #933

Open amorset opened 1 year ago

amorset commented 1 year ago

Hi Paul,

The abcjs-editor plugin shortcode seems to have no effect when added to a page in Wordpress (abc-notation 6.1.3) Could explain how it is activated/used as I can't seem to find any reference to it in the documentation.

Thank you, Brian

amorset commented 1 year ago

I now see that the abcjs-editor plugin works when the wordpress page textarea id is defined in the plugin file. However, is there a method of combining this with abcjs-audio so that midi playback is enabled on the abcjs-editor output?

Thanks again

paulrosen commented 1 year ago

I forgot to add the abcjs-editor shortcode to the readme. Sorry about that - it will be in the next version.

Unfortunately, this version doesn't support the synth option in the editor. That will also be in the next version.

You can do synth by using the abcjs-midi or abcjs-audio shortcodes, but you don't get an editor with that - the ABC would have to be added in the shortcode.