Coder Social home page Coder Social logo

Comments (5)

LOBsTerr avatar LOBsTerr commented on July 17, 2024

Actually, we found the reason the select components doesn't apply necessary Drupal classes in ecl-select.html.twig:

{% set _css_group_class = 'ecl-form-group' %}
{% set _css_class = ['ecl-select'] %}
{% set _css_class = _css_class|join(' ') %}

And this breaks drag and drop. This our fix:

{% set _css_group_class = 'ecl-form-group' %}
{% set _css_class = ['ecl-select'] %}
{% set _css_class = _css_class|merge(attributes.class) %}

from oe_theme.

LOBsTerr avatar LOBsTerr commented on July 17, 2024

To be more precise we are missing this class "table-sort-weight".

from oe_theme.

22Alexandra avatar 22Alexandra commented on July 17, 2024

Hi @LOBsTerr, could you please point to some pages where this can be seen?
Using oe_theme for editing and creating content doesn't seem to allow drag&drop at all and the oe_theme table.html.twig template uses the ECL Table component (ecl-table.html.twig).

The ecl-select.html.twig template is used for the select form element.

from oe_theme.

LOBsTerr avatar LOBsTerr commented on July 17, 2024

Hi @22Alexandra, we managers the admin is not allow and they are using oe_theme to update the content and change the configuration of their groups.

I think the easiest way to add a paragraph field and add a few paragraphs then you can see drag and drop feature there.
And it is broken, because of the missing classes

from oe_theme.

upchuk avatar upchuk commented on July 17, 2024

@LOBsTerr #1317 can you see if this PR fixes your issue?

from oe_theme.

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.