Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap 4 support #1159

Open
zerowebcorp opened this issue Apr 15, 2020 · 13 comments
Open

Bootstrap 4 support #1159

zerowebcorp opened this issue Apr 15, 2020 · 13 comments

Comments

@zerowebcorp
Copy link

Hi
Do you plan to introduce support for Bootstrap 4?

@webceoboy
Copy link

++1

@Brady1992
Copy link

同问。

@Brady1992
Copy link

+1

@hlrsky
Copy link

hlrsky commented Apr 27, 2020

++1

@haggy
Copy link

haggy commented Apr 28, 2020

+1 but I don't think it's going to happen. The status in the README is not-maintained and last commit over a year ago.

Im not a javascript/frontend wiz but I would hope the maintainer would consider releasing this to someone that wants to take it over because it is pretty nice 😄

@zerowebcorp
Copy link
Author

@haggy This is an open-source project and hosted on github. Anybody can fork it and make a modification. What do you mean by "release this"?

@haggy
Copy link

haggy commented May 7, 2020

@getvivekv Yes anyone can fork it but it's better if the maintainer will officially state that they are no longer maintaining this project. That way the project can be handed over to someone else or the "main" fork can officially say they are the active version of the project. It's a matter of semantics but it helps keep the landscape cleaner.

@haggy
Copy link

haggy commented May 7, 2020

It's also made more important by the fact that the Bootstrap 4 site still links directly to this repo.

@zerowebcorp
Copy link
Author

@haggy The developer clearly said this is not longer being maintained on their home page. Please take a look at it
https://github.com/vitalets/x-editable

image

@haggy
Copy link

haggy commented May 7, 2020

@getvivekv Hence my original comment:

I would hope the maintainer would consider releasing this to someone

That means making someone else the official Maintainer in GH so that devs can submit PR's again. Right now there are 40 open PR's.
Let me know if there is any other confusion on your side about this.

@VincentLanglet
Copy link

@haggy see #610

You can ask to maintain the project if you want to.

@webceoboy
Copy link

+1

@erycson
Copy link

erycson commented Jan 14, 2021

BS4 Inline:

$('.selector').editable()
    .on('shown', function (e, editable) {
      const input = editable.input.$tpl.attr('class', 'form-control form-control-sm');
      const container = input.parent().parent();
      container.find('.btn-default').removeClass('btn-default').addClass('btn-secondary');
      container.find('i.glyphicon-ok').removeClass('glyphicon glyphicon-ok').addClass('material-icons').text('done');
      container.find('i.glyphicon-remove').removeClass('glyphicon glyphicon-remove').addClass('material-icons').text('clear');
      container.find('.editable-clear-x').addClass('material-icons').css('font-size', '14px').text('backspace');
    })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants