GithubHelp home page GithubHelp logo

Wrong 'saveSelection' about bootstrap-wysiwyg HOT 3 OPEN

dbudde avatar dbudde commented on June 8, 2024
Wrong 'saveSelection'

from bootstrap-wysiwyg.

Comments (3)

dbudde avatar dbudde commented on June 8, 2024

Well, this creates a new issue. If I click in the URL input box and then just click back into the editor, the highlight sticks around this way too. So, I guess I don't really know the fix, just see a problem that you can reproduce with the instructions I first gave.

from bootstrap-wysiwyg.

PallasDoesCode avatar PallasDoesCode commented on June 8, 2024

Hi @dbudde the Mindmup repo is no longer maintained and hasn't been updated in quite a while. Can you try this out on our demo page http://steveathon.github.io/bootstrap-wysiwyg/ and let us know if this is still an issue?

from bootstrap-wysiwyg.

dbudde avatar dbudde commented on June 8, 2024

Yes, I just tested it at this link (thank you for that by the way) and the problem still occurs. The way I have fixed it for the moment was to update the 'saveSelection' with the code I showed above and then I call the 'markSelection' method by hooking into the 'blur' event on the URL input field. I am not putting the 'data-edit="createLink"' on the URL input directly like the example has it done. Instead I use the add button to kick that off, just so you know. Part of the reason for my changes was I am integrating Bootstrap 4.1 with Font Awesome 5. I'm attaching an image so you can see what the GUI looks like (not that it addresses this issue).

wysiwyg

from bootstrap-wysiwyg.

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.