Code Monkey home page Code Monkey logo

Comments (4)

mlshvdv avatar mlshvdv commented on August 18, 2024

It seems, that @anthonyjb answered #7 issue?

from contenttools.

anthonyjb avatar anthonyjb commented on August 18, 2024

@MalyshevDmitry thanks - yep I got that wrong, that's the answer for #7 will move it now.

from contenttools.

anthonyjb avatar anthonyjb commented on August 18, 2024

@crazy4groovy I don't see any reason why not - however you need some way of marking the content that you wanted to be able to change; you couldn't just start the editor, make the entire page editable and then save the HTML out. Either the page's HTML editable regions would need to have been marked in a way that your bookmarklet is set to look for (e.g data-editable="region-name"), or you'd need to provide a mechanism by which the user could configure the bookmarklet before applying it (for example perhaps a way in which the user could click on the elements they want to be able to edit).

Just to clarify: If you allowed users to mark the areas they wanted to edit the editor would have to be modified as a minimum to allow you to send DOM elements rather than a selector on init(...).

from contenttools.

crazy4groovy avatar crazy4groovy commented on August 18, 2024

@anthonyjb Yup that's true, I was thinking something very basic like a prompt box from the bookmarklet that asks for node(s) the used users wants to edit.

eg. which nodes: p,div

from contenttools.

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.