GithubHelp home page GithubHelp logo

getgrav / grav-plugin-editor-buttons Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 10.0 34 KB

Grav Editor Buttons Plugin

Home Page: http://getgrav.org

JavaScript 86.41% PHP 8.84% CSS 4.75%
grav grav-plugin grav-admin

grav-plugin-editor-buttons's People

Contributors

aender6840 avatar dimayakovlev avatar egormkn avatar flaviocopes avatar gsumpster avatar johnmica avatar parcand avatar paulmassen avatar rhukster avatar w00fz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

grav-plugin-editor-buttons's Issues

mismatched notices

Hi, not a major issue, but when I click to add any of the notices, the output does not match the note added. For example, I select to add a note, in markdown this displays as !!! (content) but then shows as a Tip when run on localhost.

Display error with tips

I've installed the editor buttons plugin on my blog using the Materialize theme.
I'm creating an article to explain how to install the lighttpd rewrite rules configuration file that I wrote. (Which was added in the latest Grav RC)
As you can see, for example on that article : https://systemti.me/test/blog/converting-grav-cms-htaccess-file-for-lighttpd

There is a display error : the Pro tip should be green (md: >>>>>) but instead it shows like a simple > multiple times.
Moreover, a simple > should display a grey area, but it looks red like the error div.

I'm wondering if it's a bug or something ?
Might just be a twig line to add to the theme template that's currently absent, making the plugin not working properly ?

Cheers,

Doesn't Work on Fresh Grav Install

Hey, I just installed a fresh Grav instance (GRAV CORE + ADMIN PLUGIN), which uses the Antimatter theme. I then updated all plugins and the theme, then installed this plugin, and I'm not seeing the new buttons...

Thanks.

Shortcode ui-Browser

Clicking the ui-browser button creates this tag:
[ui-browser address="http://yoururl.org"][/browser]

However, the ending one should be [/ui-browser], otherwise it doesn't work.

Notices syntax deprecated

Per Grav's doc, notices syntax will be deprecated. Will this apply to this plugin?

The old mechanism for notices overriding the block quote syntax (>>>) has been deprecated. Notices are now handled via a dedicated plugin called Markdown Notices

How to build a new version?

As my contribution to the community, I created a Pull request with new functionality and bug fixes. How to proceed to get them into production and deployment?

#29

document dependency on markdown-notices

after a recent plugin update, i was having a hard time tracking down why notices were no longer showing up as an editor button. it would probably be helpful to document the dependency on the markdown-notices plugin.

if ($this->config->get('plugins.markdown-notices.enabled') && $this->config->get('plugins.editor-buttons.insert_notice') || $noticesBC) {
  $this->grav['assets']->add('plugin://editor-buttons/admin/buttons/insert-notice/js/notice.js');
  $this->grav['assets']->add('plugin://editor-buttons/admin/buttons/insert-notice/css/notice.css');
}

thanks!

admin editor toolbar enhance -> code button

Hi !

I use the markdown editor in the admin tool but what i miss is a code button in the toolbar !

this code button is sure a very useful addition !

My doku site have a lot of parts of code lines and this funktion would be in this case very nice !

this issue is also open on the grav admin plugin :

getgrav/grav-plugin-admin#1176

kind regards

kristoferus75

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.