Git Product home page Git Product logo

Comments (8)

im4aLL avatar im4aLL commented on September 7, 2024

Yes, I noticed that also when allowing multiple editors in same page. Please do pull the latest js and I slight changed the calling system. Let me know if the issue still not solved yet from latest JS.

from easyeditor.

im4aLL avatar im4aLL commented on September 7, 2024

Also please check this URL - http://habibhadi.com/lab/easyeditor/multiple-easyeditor.html

from easyeditor.

idansh avatar idansh commented on September 7, 2024

For some reason it now throws (after I downloaded the new file) the following error in line 37:
"Uncaught TypeError: Cannot read property 'toLowerCase' of undefined".

I don't use bootstrap by the way. Any suggestions.

Until it resolved, I currently still use this line to prevent the further delegation of events, clearing them up.

  $(document).on('closing', '.remodal', function (e) {
        $('html').off()

    });

from easyeditor.

im4aLL avatar im4aLL commented on September 7, 2024

Are you getting error in default initial or issue is occurring on any button click? Can I see any sample code of yours so that I can replicate the issue in my end?

from easyeditor.

idansh avatar idansh commented on September 7, 2024
            var easyEditor = new EasyEditor({
                element: '#user-comment-in-popup',
                buttons: ['bold', 'italic', 'quote','youtube', 'x'],
                buttonsHtml: {
                    'bold': '<i class="fa fa-bold"></i>',
                    'italic': '<i class="fa fa-italic"></i>',
                    'quote': '<i class="fa fa-quote-left"></i>',
                    'insert-youtube-video': '<i class="fa fa-youtube"></i>',
                    'remove-formatting': '<i class="fa fa-ban"></i>'
                }
            });

On init it happens.

from easyeditor.

im4aLL avatar im4aLL commented on September 7, 2024

Yes, you are still using previous calling method. Please see the new calling method. And it should be like this

new EasyEditor('#user-comment-in-popup', { options: options});

Sorry using mobile currently.

from easyeditor.

idansh avatar idansh commented on September 7, 2024

Works flawlessly. Just adding, I went through a more than 50 WYSIWYG plugins, chose yours for its simplicity. Thanks!

from easyeditor.

im4aLL avatar im4aLL commented on September 7, 2024

Yeah man! I went through many rich text editor as well. But found those are overhead and overcoded. Though I built it recently, but it serves the purpose I guess. Some of them doesn't even allow to add simple button without payment. I believe those are good as well running from years.

My main goal is to make it simple and with minimal css so that anybody can integrate with any site with just couples of css tweaking. I made every possible options configurarable. People can add tons of buttons even any file manager with their own.

Thanks for such great feedback it will keep my inspiration ahead.

Thanks
Hadi

from easyeditor.

Related Issues (9)

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.