Git Product home page Git Product logo

Comments (5)

nadavkav avatar nadavkav commented on September 19, 2024

Looking at the underlying CKEditor code, it seem trivial to add the RTL/LTR buttons, even to the "Basic" toolbar layout. as they are very important to us (RTL folks)

Also set config.contentsLangDirection = 'rtl'; when the calculated current language in Moodle for the current user is RTL. when the editor initiates.

Another improvement could be, is to add an rtl class to the h5p iframe and a corresponding RTL stylesheet file. maybe a H5P core library?

from moodle-mod_hvp.

thomasmars avatar thomasmars commented on September 19, 2024

This must be implemented in core, so closing this issue.

from moodle-mod_hvp.

nadavkav avatar nadavkav commented on September 19, 2024

Just in case anyone reads this issue...
Here is a link to h5p-moodle-plugin with RTL support:
https://github.com/iucc/h5p-moodle-plugin/commits/v118_rtl_support

from moodle-mod_hvp.

thomasmars avatar thomasmars commented on September 19, 2024

@nadavkav Thanks, it is a good reference. I see that the library and editor has been swapped out in your branch. That is in line with why I'm closing this issue.
In order to support RTL in H5P it has to be implemented generally in H5P Core and H5P editor, so that it is supported across all H5P integrations (e.g. in h5p/h5p-editor-php-library#14 ). The changes must be made there, not here in the H5P Moodle integration.

from moodle-mod_hvp.

nadavkav avatar nadavkav commented on September 19, 2024

@thomasmars , I guess I miss understood you and thought you meant "Moodle core" and not H5P core. oups.
I completely agree with you now :-)

from moodle-mod_hvp.

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.