Coder Social home page Coder Social logo

Comments (4)

linkesch avatar linkesch commented on August 11, 2024

Alt attributes are currently not supported. If someone would dive into it and came up with easy to use solution, it would be appreciated.

The idea behind the plugin is to make a minimal product with core features, that would be straight forward and easy to use. And the more features the harder to maintain it's simplicity. That's why when I came with this plugin, I made only basic necessary features and I'm letting the community to take it from there.

from medium-editor-insert-plugin.

ScotsScripts avatar ScotsScripts commented on August 11, 2024

That makes sense, although it takes away some of the shine from the plugin. I see it having an "info" button next to the close/resize buttons that would handle image attributes like alt, align, sizing, etc... Although I know next to nothing about javascript programming, it might be interesting to dig around and see if I can make something happen.

from medium-editor-insert-plugin.

abitdodgy avatar abitdodgy commented on August 11, 2024

@ScotsScripts I imagine it might be easier to your your own. Once an image is inserted into the dom, attach some js hooks to that that would let you insert an alt... I don't think that would be particular hard. It's not ideal, but think of it as a plugin for this plugin. Once the element is in the dom it's pretty easy to manipulate it with jQuery.

from medium-editor-insert-plugin.

linkesch avatar linkesch commented on August 11, 2024

We can merge this functionality with editable caption proposed in #54

from medium-editor-insert-plugin.

Related Issues (20)

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.