Closed emagnier closed 10 years ago
I'm not sure about this. So far, we only depend on bootstrap style sheet, this will make us to depend on entire bootstrap plugin which undesired since there is a chance that people already extend bootstrap modal with non-standard library.
In fact it only need the bootstrap js plugin if useModal
is set to true
.
But I understand your point, I had the same feeling when I added all the markup and mechanics in the core plugin. So I moved my code on the custom side of my project.
However this issue https://github.com/toopay/bootstrap-markdown/issues/13 is still open (I made this PR because of that). Should we closes it and explain why? And/or move my implementation from this PR to an example of custom feature?
It keeps exactly the same behaviour, but uses the Bootstrap Modal instead on the classic JS prompt. By default this option is disabled.
E.g.: