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

JI-6332 ensure image widget uses full width even if there are some float on previous elements #242

Merged
merged 1 commit into from
May 10, 2024

Conversation

wwalmnes
Copy link
Contributor

No description provided.

@Gwenillia Gwenillia merged commit 323655b into master May 10, 2024
@Gwenillia Gwenillia deleted the fix/JI-6332-full-width-widget branch May 10, 2024 09:30
devland added a commit that referenced this pull request May 21, 2024
* Add cancel submit callback for h5p editor form

Allows the plugin to cancel validation and submission of the form
through a callback. Fixes h5p/moodle-mod_hvp#306
which expects the form to be submitted when it is canceled.

* Remove console.log

* JI-1235 Prevent pasting of restricted libraries

* Save content language even if it is not changed

* Fix whitelist check to be case insensitive

* Add support for more content type languages

* Add one more check

* Update eu.js

* Update ru.js

* Update pt.js

European PT translation

* Update tr.js

* fix: prevent resize if iframe is not ready

* JI-1497 Change audio URL icon

* JI-1405 Add support for additional icons after text

* JI-1526 Encode html before returning it as html

The callback should typically return html elements styles for highlighting the code. Since we don't do any styling for the highlighting we just have to encode the html.

* Update tr.js

* Create cs.js

Translating to cs

* Update cs.js

Translated to cs

* Updated German translation

* Create sv.json

* Rename sv.json to sv.js

* Fix invalid div element syntax

* Fix compatibility with newer jQuery versions

* Add missing language strings

* Fix variable usage consistency

* Remove unnecessary conversion

* Create sl.json

Added slovenian translation

* Rename sl.json to sl.js

* Update nl.js

* add chinese translation based on en.js

* Fix compatibility with newer jQuery versions

(cherry picked from commit 757f705)

* HFP-3008 Add content language to iframe

* Add content hub and a11y changes from Drupal git

See Drupal 7 git for git history for these commits.

* Fix missing merge from Drupal git

* Upgrade CKEditor to 4.14.1

* HFP-3008 Add language to iframe document instead of iframe

* HFP-3121 Update hub client

Add translations for reusing content

* HFP-3109 Update hub client

* Update hub client

* Create ko.json

This is a Korean translation

* JI-1927 Add new video widget translations

* JI-1927 Add Panopto mime type support in video widget

* Rename ko.json to ko.js

* JI-2026 Change confirmation message when reusing content

* Update nl.js

* Update Hub + translations

* Update nl.js

* Remove unused function

* Remove global user

* Revert "Remove global user"

This reverts commit fd3873f.

* Fix using language parameter instead of global user object

* Update Hub Client

* Update CKEditor 4.15.1

* JI-2080 Add H5PIntegration Hub object to init

* JI-2080 Update Hub Client

* Update hub client

* Update hub client

* Update hub client

* Update hub client css

* Update hub client

* JI-2271 Add flag determining whether content hub should be enabled

* JI-2271 Update hub client with pagination fix

* JI-2271 Update hub client

* HFP-3232 Change search placeholder text for content hub filters

* Fix PHP8.0 warning

Credits goes to Marina Glancy.

* Update hub client

* Revert "Update CKEditor 4.15.1"

This reverts commit 7f4fded.

* Revert "Upgrade CKEditor to 4.14.1"

This reverts commit b9582fd.

* JI-2316 Fix size bug for editor fields

* JI-2356 Update hub client

* Update hub client

* Update hub client

* Update hub client

* Fix edge case crashes after resetting the editor

* JI-2176 Implement new design for Tutorial and Example links

* JI-2176 Remove extra semicolons

* JI-2406 Update to version 4.16.1 of CKEditor

* JI-2406 Fix CKEditor field collapsing

The CKEditor input field would sometimes collapse because it uses an
internal element to determine the height of the input field, and this
element was hidden and removed from the DOM so the height returned
was invalid, causing the input height to collapse to 0. Setting the
getBody element of CKEditor to an element that is always visible
and not removed fixes this measurement problem.

* Fix bring back missing custom plugins

* JI-2406 Fix CKEditor collapsing if calculator element ever is hidden

Overrides the convertToPx function from
https://github.com/ckeditor/ckeditor4/blob/cae20318d46745cc46c811da4e7d68b38ca32449/core/tools.js#L899-L929
and instead adds the calculator element for every measurement
and removes it when it is done with the measurement.

* Update ko.js

* Fix bring back missing custom plugins

* HFP-2016/HFP-2282 Fix blinking CKEditor dialog

* HFP-2016/JI-2432 Fix resizing on exiting fullscreen

* JI-2176 Reduce size of buttons

* Add back code highlighter fix that got replaced

* JI-2506 Fix metadata form's dialogs from native JS to H5P.ConfirmationDialog

* Revert "JI-2506 Fix metadata form's dialogs from native JS to H5P.ConfirmationDialog"

This reverts commit 8b0d619.

* fix to finnish translation

* JI-2981 Fix JS files being loaded multiple times

This is an issue with complex editors/content types where code might be executing while it's being overwritten.
For example, this can happen when IV and CP are used together in Column and can cause strange bugs.

* Update to CKEditor 4.17.1

* Update ko.js

An updated translation into Korean.

* update Simplified Chinese translation and add missing translation.

* add zh.js Simplified Chinese translaton variant, WordPress platform requires this variant.

* add zh-hans.js Simplified Chinese translaton variant, Drupal platform requires this variant.

* Updated German locale

* JI-2981 Fix js loading tracker not being cleaned

* JI-1127 Stop using google font remotely
Fix #139

* JI-1127 Add LICENSE-2.0

* JI-1127 Add Readme license line

* updated all locales from English source

* HFP-3448 Add Vimeo source detection

* HFP-3448 Fix Vimeo URL regexp case sensitivity

The optional `channels` and `groups` parts are in fact characters so the
matching must be case sensitive.

* Fix single source for video providers

* JI-3494 Reuse the font from the core library (#150)

* JI-3485 Include patch version in library folder name (storage)

* Stop supporting PHP 5

* Added Upper Sorbian to language list

* JI-3620 Refactor use of glorified loop

The editor widgets relies on references to the parameter objects, 
changing the parameter object without updating the references means 
that the editor widgets will continue updating objects that won't be saved.

* Update sl.json

Fixed typos and added missing translation.

* Update nb.js (#166)

* Update nb.js

Updates of old and newly added strings.

* Update language/nb.js

fixed typo pointed out by @boyum

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* Update language/nb.js

fixed typo pointed out by @boyum

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

---------

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* Fixed dynamic properties deprecation in PHP 8.2 (#169)

* Add files via upload (#165)

Adding translation for Galician (gl)

* Update Italian Translation (#176)

With this commit the Italian translation was completed, which was only partially done in the language/it.js file

* Update h5peditor.js to include Papiamento language (#178)

Include  'pap-cw (Papiamento (Curaçao and Bonaire)) and
'pap-aw' (Papiamento (Aruba)

* JI-5152 Install CKEditor 5

* JI-5152 Use CKEditor 5 for html fields

* JI-5152 Fix falling back to DOM to get data

* JI-5387 Handle enterMode

* JI-5366 CKEditor tables (#181)

* JI-5366 Adding table plugins with online builder

Also added FontFamily and GeneralHtmlSupport for future use

* JI-5366 Implement table plugins

* JI-5366 Implement table caption

* JI-5366 Fix table caption in default editor

* Update readme for compiling scss

* JI-5366 Fix styling outside ckeditor

* JI-5366 Make default table look like ckeditor4

* JI-5366 Add styling to table headers

* JI-5366 Add table overflow protection

Aligned tables would spill out of text field

* JI-5366 Save overflow protection for view

* JI-5366 CSS cleanup

* Update README.md

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* JI-5366 Use custom table plugin

* JI-5366 Avoid translation id conflict

* JI-5366 Update dependency

* JI-5366 Default tables to previous styling

---------

Co-authored-by: Erik <erik.langhaug@joubel.com>
Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* JI-5387 CKEditor: Imitate entermode div in CKE 5 (#187)

Co-authored-by: Erik Langhaug <erik.langhaug@h5p.group>

* JI-5422 — CKE 5: Backwards compatibility font sizes (#186)

* JI-5422 CKE 5 backwards compatibility font sizes

add default font size as cke4

* JI-5422 Add 125% font size like cke4

* JI-5422 add custom font size support

---------

Co-authored-by: Vilde Stabell <vilde.voss.stabell@gmail.com>

* JI-3620 Refactor use of glorified loop

The editor widgets relies on references to the parameter objects, 
changing the parameter object without updating the references means 
that the editor widgets will continue updating objects that won't be saved.

* JI-3485 Include patch version in library folder name (storage)

* Fixed dynamic properties deprecation in PHP 8.2 (#169)

* JI-5784 Prevent cke5 from overflowing horizontally (#190)

* JI-5430 Implement font family choice for CKEditor (#188)

* JI-5387 CKEditor: change entermode if formats allowed (#189)

* JI-5424 fix formatted style

* JI-5366 CKEditor table fixes (#191)

* JI-5366 Default to left-aligned tables

* JI-5366 Default to left-aligned table headers

* Update dependencies and build CKEditor

---------

Co-authored-by: Erik Langhaug <erik.langhaug@h5p.group>

* JI-5682 cropper UI (#197)

* JI-5683 replace darkroom with cropper

* JI-5683 set new image for existing cropper instance

* JI-5682 add other handles and some UI

* JI-5682 hide handles on move/resize selector

* JI-5682 add selector masks

* JI-5682 move html inside cropper library

* JI-5682 add optional initial positioning and sizing options for selector

* JI-5682 update initialize function

* JI-5682 add buttons first draft

* JI-5682 finish cropper UI integration

* JI-5682 add comments

* JI-5682 remove unused lines

* JI-5682 update variable names

* JI-5682 replace onPointerUp functions with singularentity

* JI-5682 improve readability of updateMask

* JI-5682 reuse variables within crop function

* JI-5682 replace console.log with warning

* JI-5682 add empty lines

* JI-5682 update image loaded handling

* JI-5682 resize cropper on window resize

* JI-5682 add keyup event handlers and accessibility attributes

* JI-5682 improve cropper responsiveness

* JI-5682 update tooltip custom css class

* JI-5682 update custom cropper tooltip class

* JI-5812 Prevent CKEditor from deleting empty divs (#195)

* JI-5812 Prevent CKE from deleting empty divs

* Fix webpack config

* JI-5684 fix cropper rotation (#199)

* JI-5684 fix cropper rotation

* JI-5684 update crop limit logic

* JI-5684 fix scroll into view

* JI-5684 remove scroll into view

* JI-5366 CKEditor nested tables (#200)

* Fix webpack config

* JI-5366 Fix border style of nested tables

* Update CKE dependency and build

* Ji 5682 align cropper popup (#201)

* JI-5684 fix cropper rotation

* JI-5684 update crop limit logic

* JI-5684 fix scroll into view

* JI-5684 remove scroll into view

* JI-5682 align cropper popup

* JI-5682 update cropper align to work in cors iframe

* JI-5682 revert align cropper popup

* JI-5682 add new alignPopup function for crop tool

* JI-5682 update function description  with new param

---------

Co-authored-by: makmentins <maris.akmentins@h5p.group>

* JI-5681 fix crop selector sizing in edge (#202)

* JI-5681 fix crop selector sizing in edge

* JI-5681 fix floating point cropper selector dimensions

* JI-5681 put back padding value

* Ji 5682 additional UI changes (#203)

* JI-5681 fix crop selector sizing in edge

* JI-5681 fix floating point cropper selector dimensions

* JI-5681 put back padding value

* JI-5682 move container border and prevent user select around buttons for cropper

* JI-5839 CKEditor link improvements (#206)

* JI-5839 Add protocol, target and rel to links

Also some code cleanup

* JI-5839 Add underline to links, to mimic view

* Whitespace cleanup

* JI-5839 Style links more specifically

* JI-5842 Fix fontsize dropdown too large (#210)

* Compile scss

* Update CKEditor 5 table plugin

* Include the new CKEditor 5 build

* JI-5982 Upgrade CKE to version 41.1.0 (#213)

* JI-5982 Upgrade CKE to version 41.1.0

* Update ckeditor 5 to 41.1.0

* Include new CKEditor 5 build

---------

Co-authored-by: Erik Langhaug <erik.langhaug@h5p.group>

* JI-5884 update h5p-ckeditor-table version (#215)

* JI-5961 fix cke5 border bottom style (#214)

* JI-5884-update-h5p-ckeditor-table-version-again (#216)

* JI-5973 Change order and spacing of font size dropdown (#217)

* JI-6006 auto position cke toolbar dropdown panel (#218)

* JI-6023 ensure table overflow protection is added on cke destroy (#219)

* JI-5884 update cke5 deps (#220)

* JI-5787 Hide CKEditor link (#222)

* JI-6043 fix cropper popup height (#224)

* JI-6043 fix cropper popup height

* JI-6043 limit maxHeight

* JI-6042 Base CKE height on H5P iframe, not editor iframe (#225)

* JI-6042 Update CKE maxheight when CKE ui changes (#226)

* JI-6063 Downcast i to em in plugin instead (#227)

* JI-5452 remove compass and use webpack to build css (#228)

Co-authored-by: William Almnes <william.almnes@h5p.group>

* JI-5452 update prebuilt application.css file (#231)

* JI-6182 CKEditor disable sticky toolbar (#233)

* JI-6152 add drag and drop, and paste functionality to image widget (#230)

* JI-6152 add drag and drop, and paste functionality to image widget

* JI-6152 build css file

* JI-6152 fix bug with copyright html

* JI-6152 fix to make better accessible component

* JI-6152 build css production file

* JI-6152 adjust styling

* JI-6152 minor manual linting

* JI-6152 fix issues from review

* JI-6152 fix minor styling issues

* JI-6152 fix state

* JI-6152 add spanish translations

* JI-6152 add french translations

---------

Co-authored-by: William Almnes <william.almnes@h5p.group>
Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>

* Build/ji 4001 build third party libs (#232)

* JI-5452 update prebuilt application.css file

* JI-4001 build zebra_datepicker from npm

* JI-4001 simplify build

* JI-4001 change mode

* JI-4001 load zebra_datepicker

* JI-4001 remove unused dependency

* JI-4001 simplify setting jQuery global var

* JI-4001 simplify loading of zebra_datepicker

* JI-4001 remove duplicate folder

* JI-4001 add h5p-image-cropper to build flow

---------

Co-authored-by: Vilde Stabell <vilde.voss.stabell@gmail.com>

* Fix/ji 6152 review adjustments (#235)

* JI-6152 fix bug with replicating button and fix minor styling issues

* JI-6152 more styling adjustments

* JI-6152 fix styling issues and focus

* JI-6152 adjustments to badge

* JI-6152 remove inline styling

---------

Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>

* Feature/ji 6153 drag and drop video audio (#234)

* JI-6152 add drag and drop, and paste functionality to image widget

* JI-6152 build css file

* JI-6152 fix bug with copyright html

* JI-6152 fix to make better accessible component

* JI-6152 build css production file

* JI-6152 adjust styling

* JI-6152 minor manual linting

* JI-6152 fix issues from review

* JI-6152 fix minor styling issues

* JI-6153 create basic mvp of dnd for video/audio

* JI-6153 fix race condition when uploading and fix styling for box with quality input

* JI-6153 add support for pasting video files

* JI-6153 switch static text to use translations

* JI-6153 fix handling of error messages and improve accessibility

* JI-6153 use svg from css instead of code

* JI-6153 fix minor styling issues and minor bug

* JI-6153 fix reference to progress

* JI-6153 fix bug with replacing youtube url

* JI-6153 remove console.log

* JI-6153 fix issue after merge conflict

* JI-6153 fix styling issues

* JI-6153 handle input bug and fix aria label

* JI-6153 fix typo

* JI-6153 fix imports of svg

* JI-6153 fix styling issues and logic around replacing video

* JI-6253 update badge and adjust box scaling

* JI-6153 fix styling when uploading video

* JI-6153 create loading indicator when replacing url

* JI-6153 use single quotes instead of double

* JI-6153 more single quotes

* JI-6153 use correct icon for insert url

---------

Co-authored-by: William Almnes <william.almnes@h5p.group>

* JI-6153 add french translations

* JI-6152 fix various styling issues and positioning of copyright button (#237)

* JI-6152 fix various styling issues and positioning of copyright button

* JI-6152 adjust break point and hover styling

* Fix/ji 6153 review adjustments (#238)

* JI-6153 adjustments to styling and fixing bugs

* JI-6153 fix translations

* JI-6153 add spanish

* JI-6310 clean up unused tabs code

* HFP-3875 Turn group collapse button prototype into production version (#229)

* HFP-3864 Add prototype for list expand/collapse button

* HFP-3864 Check for collapse button before adding one

* HFP-3864 Show/hide collapse button based on list length

* HFP-3864 Listen to manual group collapsing

* HFP-3864 Ensure group collapsing functions are set

* HFP-3864 Move group collapsing functions up in code

* HFP-3875 Add translatable button texts

* HFP-3875-add-button-styling

* HFP-3875 Only show collapse button for ListEditor

* HFP-3875 Fix start text of button

* HFP-3875 Move CSS to stylesheet

* HFP-3875 Account for button height

* HFP-3875 Keep label with widget toggle buttons

* HFP-3875 Cover group initially collapsed

* HFP-3875 Clean up code

* HFP-3875 Adjust to font file v30

* HFP-3875 Fix merge conflict

* JI-6332 ensure image widget uses full width even if there are some float on previous elements (#242)

* Add Echo360 EchoVideos as a provider (#182)

* JI-6335 fix append metadata button (#243)

* Implement inline CKE plugin using classic function instead of arrow function

---------

Co-authored-by: Thomas Marstrander <marstranderthomas@gmail.com>
Co-authored-by: Paal Joergensen <pal.jorgensen@gmail.com>
Co-authored-by: Frode Petterson <frode.andre.petterson@gmail.com>
Co-authored-by: Iñigo Zendegi <izendegi@mondragon.edu>
Co-authored-by: maxtetdev <maxtet.dev@gmail.com>
Co-authored-by: Dinis Medeiros <formadordinis@gmail.com>
Co-authored-by: Merve Kartal <mervekartal@Tolgas-Mac-mini.local>
Co-authored-by: JPSchellenberg <jps@Lumi.education>
Co-authored-by: Rıdvan Altun <ridvanaltun@outlook.com>
Co-authored-by: Bohumil Havel <bohumil.havel@pdcon.cz>
Co-authored-by: Sebastian Rettig <sr258@users.noreply.github.com>
Co-authored-by: Xtractor Interactive AB <39831093+xtractorab@users.noreply.github.com>
Co-authored-by: Puhek <52817795+miropuhek@users.noreply.github.com>
Co-authored-by: viragom <67712564+viragom@users.noreply.github.com>
Co-authored-by: 徐征 <xuz@szlhxx.com>
Co-authored-by: Jeonghun Oh <totoromaum1@gmail.com>
Co-authored-by: Hannaes <hanna.solstad@joubel.com>
Co-authored-by: Sara Arjona <sara@moodle.com>
Co-authored-by: Frode Petterson <frode.petterson@joubel.com>
Co-authored-by: Erik Langhaug <erik.langhaug@joubel.com>
Co-authored-by: Ravi Majithia <ravikiran.majithia@joubel.com>
Co-authored-by: Jari <53904029+Urpokarhu1@users.noreply.github.com>
Co-authored-by: Sam Xu <sam.z.xu@gmail.com>
Co-authored-by: Sebastian Rettig <serettig@posteo.de>
Co-authored-by: Oliver Tacke <o.tacke@posteo.de>
Co-authored-by: j0kerZ <joker.wartune1527@gmail.com>
Co-authored-by: Ravi Majithia <77275193+ravimajithia@users.noreply.github.com>
Co-authored-by: Tor-Martin Karlsen <38659798+tmkarlsen@users.noreply.github.com>
Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>
Co-authored-by: Meirza <115134930+meirzamoodle@users.noreply.github.com>
Co-authored-by: Antonio Aneiros <77668828+antonioaneiros@users.noreply.github.com>
Co-authored-by: Carlo Tacchella <tacchella.carlo@gmail.com>
Co-authored-by: Ace Suares <ace@suares.com>
Co-authored-by: Erik Langhaug <erik.langhaug@h5p.group>
Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>
Co-authored-by: devland <adevland@gmail.com>
Co-authored-by: devland <5208532+devland@users.noreply.github.com>
Co-authored-by: makmentins <maris.akmentins@h5p.group>
Co-authored-by: makmentins <127746763+makmentins@users.noreply.github.com>
Co-authored-by: William Almnes <william.almnes@gmail.com>
Co-authored-by: William Almnes <william.almnes@h5p.group>
Co-authored-by: Gwen Tripet-Costet <gwenden31@gmail.com>
Co-authored-by: Damyon Wiese <111934118+echo360-damyon@users.noreply.github.com>
devland added a commit that referenced this pull request May 21, 2024
* Add cancel submit callback for h5p editor form

Allows the plugin to cancel validation and submission of the form
through a callback. Fixes h5p/moodle-mod_hvp#306
which expects the form to be submitted when it is canceled.

* Remove console.log

* JI-1235 Prevent pasting of restricted libraries

* Save content language even if it is not changed

* Fix whitelist check to be case insensitive

* Add support for more content type languages

* Add one more check

* Update eu.js

* Update ru.js

* Update pt.js

European PT translation

* Update tr.js

* fix: prevent resize if iframe is not ready

* JI-1497 Change audio URL icon

* JI-1405 Add support for additional icons after text

* JI-1526 Encode html before returning it as html

The callback should typically return html elements styles for highlighting the code. Since we don't do any styling for the highlighting we just have to encode the html.

* Update tr.js

* Create cs.js

Translating to cs

* Update cs.js

Translated to cs

* Updated German translation

* Create sv.json

* Rename sv.json to sv.js

* Fix invalid div element syntax

* Fix compatibility with newer jQuery versions

* Add missing language strings

* Fix variable usage consistency

* Remove unnecessary conversion

* Create sl.json

Added slovenian translation

* Rename sl.json to sl.js

* Update nl.js

* add chinese translation based on en.js

* Fix compatibility with newer jQuery versions

(cherry picked from commit 757f705)

* HFP-3008 Add content language to iframe

* Add content hub and a11y changes from Drupal git

See Drupal 7 git for git history for these commits.

* Fix missing merge from Drupal git

* Upgrade CKEditor to 4.14.1

* HFP-3008 Add language to iframe document instead of iframe

* HFP-3121 Update hub client

Add translations for reusing content

* HFP-3109 Update hub client

* Update hub client

* Create ko.json

This is a Korean translation

* JI-1927 Add new video widget translations

* JI-1927 Add Panopto mime type support in video widget

* Rename ko.json to ko.js

* JI-2026 Change confirmation message when reusing content

* Update nl.js

* Update Hub + translations

* Update nl.js

* Remove unused function

* Remove global user

* Revert "Remove global user"

This reverts commit fd3873f.

* Fix using language parameter instead of global user object

* Update Hub Client

* Update CKEditor 4.15.1

* JI-2080 Add H5PIntegration Hub object to init

* JI-2080 Update Hub Client

* Update hub client

* Update hub client

* Update hub client

* Update hub client css

* Update hub client

* JI-2271 Add flag determining whether content hub should be enabled

* JI-2271 Update hub client with pagination fix

* JI-2271 Update hub client

* HFP-3232 Change search placeholder text for content hub filters

* Fix PHP8.0 warning

Credits goes to Marina Glancy.

* Update hub client

* Revert "Update CKEditor 4.15.1"

This reverts commit 7f4fded.

* Revert "Upgrade CKEditor to 4.14.1"

This reverts commit b9582fd.

* JI-2316 Fix size bug for editor fields

* JI-2356 Update hub client

* Update hub client

* Update hub client

* Update hub client

* Fix edge case crashes after resetting the editor

* JI-2176 Implement new design for Tutorial and Example links

* JI-2176 Remove extra semicolons

* JI-2406 Update to version 4.16.1 of CKEditor

* JI-2406 Fix CKEditor field collapsing

The CKEditor input field would sometimes collapse because it uses an
internal element to determine the height of the input field, and this
element was hidden and removed from the DOM so the height returned
was invalid, causing the input height to collapse to 0. Setting the
getBody element of CKEditor to an element that is always visible
and not removed fixes this measurement problem.

* Fix bring back missing custom plugins

* JI-2406 Fix CKEditor collapsing if calculator element ever is hidden

Overrides the convertToPx function from
https://github.com/ckeditor/ckeditor4/blob/cae20318d46745cc46c811da4e7d68b38ca32449/core/tools.js#L899-L929
and instead adds the calculator element for every measurement
and removes it when it is done with the measurement.

* Update ko.js

* Fix bring back missing custom plugins

* HFP-2016/HFP-2282 Fix blinking CKEditor dialog

* HFP-2016/JI-2432 Fix resizing on exiting fullscreen

* JI-2176 Reduce size of buttons

* Add back code highlighter fix that got replaced

* JI-2506 Fix metadata form's dialogs from native JS to H5P.ConfirmationDialog

* Revert "JI-2506 Fix metadata form's dialogs from native JS to H5P.ConfirmationDialog"

This reverts commit 8b0d619.

* fix to finnish translation

* JI-2981 Fix JS files being loaded multiple times

This is an issue with complex editors/content types where code might be executing while it's being overwritten.
For example, this can happen when IV and CP are used together in Column and can cause strange bugs.

* Update to CKEditor 4.17.1

* Update ko.js

An updated translation into Korean.

* update Simplified Chinese translation and add missing translation.

* add zh.js Simplified Chinese translaton variant, WordPress platform requires this variant.

* add zh-hans.js Simplified Chinese translaton variant, Drupal platform requires this variant.

* Updated German locale

* JI-2981 Fix js loading tracker not being cleaned

* JI-1127 Stop using google font remotely
Fix #139

* JI-1127 Add LICENSE-2.0

* JI-1127 Add Readme license line

* updated all locales from English source

* HFP-3448 Add Vimeo source detection

* HFP-3448 Fix Vimeo URL regexp case sensitivity

The optional `channels` and `groups` parts are in fact characters so the
matching must be case sensitive.

* Fix single source for video providers

* JI-3494 Reuse the font from the core library (#150)

* JI-3485 Include patch version in library folder name (storage)

* Stop supporting PHP 5

* Added Upper Sorbian to language list

* JI-3620 Refactor use of glorified loop

The editor widgets relies on references to the parameter objects, 
changing the parameter object without updating the references means 
that the editor widgets will continue updating objects that won't be saved.

* Update sl.json

Fixed typos and added missing translation.

* Update nb.js (#166)

* Update nb.js

Updates of old and newly added strings.

* Update language/nb.js

fixed typo pointed out by @boyum

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* Update language/nb.js

fixed typo pointed out by @boyum

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

---------

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* Fixed dynamic properties deprecation in PHP 8.2 (#169)

* Add files via upload (#165)

Adding translation for Galician (gl)

* Update Italian Translation (#176)

With this commit the Italian translation was completed, which was only partially done in the language/it.js file

* Update h5peditor.js to include Papiamento language (#178)

Include  'pap-cw (Papiamento (Curaçao and Bonaire)) and
'pap-aw' (Papiamento (Aruba)

* JI-5682 cropper UI (#197)

* JI-5683 replace darkroom with cropper

* JI-5683 set new image for existing cropper instance

* JI-5682 add other handles and some UI

* JI-5682 hide handles on move/resize selector

* JI-5682 add selector masks

* JI-5682 move html inside cropper library

* JI-5682 add optional initial positioning and sizing options for selector

* JI-5682 update initialize function

* JI-5682 add buttons first draft

* JI-5682 finish cropper UI integration

* JI-5682 add comments

* JI-5682 remove unused lines

* JI-5682 update variable names

* JI-5682 replace onPointerUp functions with singularentity

* JI-5682 improve readability of updateMask

* JI-5682 reuse variables within crop function

* JI-5682 replace console.log with warning

* JI-5682 add empty lines

* JI-5682 update image loaded handling

* JI-5682 resize cropper on window resize

* JI-5682 add keyup event handlers and accessibility attributes

* JI-5682 improve cropper responsiveness

* JI-5682 update tooltip custom css class

* JI-5682 update custom cropper tooltip class

* JI-5684 fix cropper rotation (#199)

* JI-5684 fix cropper rotation

* JI-5684 update crop limit logic

* JI-5684 fix scroll into view

* JI-5684 remove scroll into view

* Ji 5682 align cropper popup (#201)

* JI-5684 fix cropper rotation

* JI-5684 update crop limit logic

* JI-5684 fix scroll into view

* JI-5684 remove scroll into view

* JI-5682 align cropper popup

* JI-5682 update cropper align to work in cors iframe

* JI-5682 revert align cropper popup

* JI-5682 add new alignPopup function for crop tool

* JI-5682 update function description  with new param

---------

Co-authored-by: makmentins <maris.akmentins@h5p.group>

* JI-5681 fix crop selector sizing in edge (#202)

* JI-5681 fix crop selector sizing in edge

* JI-5681 fix floating point cropper selector dimensions

* JI-5681 put back padding value

* Ji 5682 additional UI changes (#203)

* JI-5681 fix crop selector sizing in edge

* JI-5681 fix floating point cropper selector dimensions

* JI-5681 put back padding value

* JI-5682 move container border and prevent user select around buttons for cropper

* JI-6043 fix cropper popup height (#224)

* JI-6043 fix cropper popup height

* JI-6043 limit maxHeight

* JI-5452 remove compass and use webpack to build css (#228)

Co-authored-by: William Almnes <william.almnes@h5p.group>

* JI-5452 update prebuilt application.css file (#231)

* JI-6152 add drag and drop, and paste functionality to image widget (#230)

* JI-6152 add drag and drop, and paste functionality to image widget

* JI-6152 build css file

* JI-6152 fix bug with copyright html

* JI-6152 fix to make better accessible component

* JI-6152 build css production file

* JI-6152 adjust styling

* JI-6152 minor manual linting

* JI-6152 fix issues from review

* JI-6152 fix minor styling issues

* JI-6152 fix state

* JI-6152 add spanish translations

* JI-6152 add french translations

---------

Co-authored-by: William Almnes <william.almnes@h5p.group>
Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>

* Build/ji 4001 build third party libs (#232)

* JI-5452 update prebuilt application.css file

* JI-4001 build zebra_datepicker from npm

* JI-4001 simplify build

* JI-4001 change mode

* JI-4001 load zebra_datepicker

* JI-4001 remove unused dependency

* JI-4001 simplify setting jQuery global var

* JI-4001 simplify loading of zebra_datepicker

* JI-4001 remove duplicate folder

* JI-4001 add h5p-image-cropper to build flow

---------

Co-authored-by: Vilde Stabell <vilde.voss.stabell@gmail.com>

* Fix/ji 6152 review adjustments (#235)

* JI-6152 fix bug with replicating button and fix minor styling issues

* JI-6152 more styling adjustments

* JI-6152 fix styling issues and focus

* JI-6152 adjustments to badge

* JI-6152 remove inline styling

---------

Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>

* Feature/ji 6153 drag and drop video audio (#234)

* JI-6152 add drag and drop, and paste functionality to image widget

* JI-6152 build css file

* JI-6152 fix bug with copyright html

* JI-6152 fix to make better accessible component

* JI-6152 build css production file

* JI-6152 adjust styling

* JI-6152 minor manual linting

* JI-6152 fix issues from review

* JI-6152 fix minor styling issues

* JI-6153 create basic mvp of dnd for video/audio

* JI-6153 fix race condition when uploading and fix styling for box with quality input

* JI-6153 add support for pasting video files

* JI-6153 switch static text to use translations

* JI-6153 fix handling of error messages and improve accessibility

* JI-6153 use svg from css instead of code

* JI-6153 fix minor styling issues and minor bug

* JI-6153 fix reference to progress

* JI-6153 fix bug with replacing youtube url

* JI-6153 remove console.log

* JI-6153 fix issue after merge conflict

* JI-6153 fix styling issues

* JI-6153 handle input bug and fix aria label

* JI-6153 fix typo

* JI-6153 fix imports of svg

* JI-6153 fix styling issues and logic around replacing video

* JI-6253 update badge and adjust box scaling

* JI-6153 fix styling when uploading video

* JI-6153 create loading indicator when replacing url

* JI-6153 use single quotes instead of double

* JI-6153 more single quotes

* JI-6153 use correct icon for insert url

---------

Co-authored-by: William Almnes <william.almnes@h5p.group>

* JI-6153 add french translations

* JI-6152 fix various styling issues and positioning of copyright button (#237)

* JI-6152 fix various styling issues and positioning of copyright button

* JI-6152 adjust break point and hover styling

* Fix/ji 6153 review adjustments (#238)

* JI-6153 adjustments to styling and fixing bugs

* JI-6153 fix translations

* JI-6153 add spanish

* JI-6310 clean up unused tabs code

* HFP-3875 Turn group collapse button prototype into production version (#229)

* HFP-3864 Add prototype for list expand/collapse button

* HFP-3864 Check for collapse button before adding one

* HFP-3864 Show/hide collapse button based on list length

* HFP-3864 Listen to manual group collapsing

* HFP-3864 Ensure group collapsing functions are set

* HFP-3864 Move group collapsing functions up in code

* HFP-3875 Add translatable button texts

* HFP-3875-add-button-styling

* HFP-3875 Only show collapse button for ListEditor

* HFP-3875 Fix start text of button

* HFP-3875 Move CSS to stylesheet

* HFP-3875 Account for button height

* HFP-3875 Keep label with widget toggle buttons

* HFP-3875 Cover group initially collapsed

* HFP-3875 Clean up code

* HFP-3875 Adjust to font file v30

* HFP-3875 Fix merge conflict

* JI-6332 ensure image widget uses full width even if there are some float on previous elements (#242)

* Add Echo360 EchoVideos as a provider (#182)

* JI-6335 fix append metadata button (#243)

---------

Co-authored-by: Thomas Marstrander <marstranderthomas@gmail.com>
Co-authored-by: Paal Joergensen <pal.jorgensen@gmail.com>
Co-authored-by: Frode Petterson <frode.andre.petterson@gmail.com>
Co-authored-by: Iñigo Zendegi <izendegi@mondragon.edu>
Co-authored-by: maxtetdev <maxtet.dev@gmail.com>
Co-authored-by: Dinis Medeiros <formadordinis@gmail.com>
Co-authored-by: Merve Kartal <mervekartal@Tolgas-Mac-mini.local>
Co-authored-by: JPSchellenberg <jps@Lumi.education>
Co-authored-by: Rıdvan Altun <ridvanaltun@outlook.com>
Co-authored-by: Bohumil Havel <bohumil.havel@pdcon.cz>
Co-authored-by: Sebastian Rettig <sr258@users.noreply.github.com>
Co-authored-by: Xtractor Interactive AB <39831093+xtractorab@users.noreply.github.com>
Co-authored-by: Puhek <52817795+miropuhek@users.noreply.github.com>
Co-authored-by: viragom <67712564+viragom@users.noreply.github.com>
Co-authored-by: 徐征 <xuz@szlhxx.com>
Co-authored-by: Jeonghun Oh <totoromaum1@gmail.com>
Co-authored-by: Hannaes <hanna.solstad@joubel.com>
Co-authored-by: Sara Arjona <sara@moodle.com>
Co-authored-by: Frode Petterson <frode.petterson@joubel.com>
Co-authored-by: Erik Langhaug <erik.langhaug@joubel.com>
Co-authored-by: Ravi Majithia <ravikiran.majithia@joubel.com>
Co-authored-by: Jari <53904029+Urpokarhu1@users.noreply.github.com>
Co-authored-by: Sam Xu <sam.z.xu@gmail.com>
Co-authored-by: Sebastian Rettig <serettig@posteo.de>
Co-authored-by: Oliver Tacke <o.tacke@posteo.de>
Co-authored-by: j0kerZ <joker.wartune1527@gmail.com>
Co-authored-by: Ravi Majithia <77275193+ravimajithia@users.noreply.github.com>
Co-authored-by: Tor-Martin Karlsen <38659798+tmkarlsen@users.noreply.github.com>
Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>
Co-authored-by: Meirza <115134930+meirzamoodle@users.noreply.github.com>
Co-authored-by: Antonio Aneiros <77668828+antonioaneiros@users.noreply.github.com>
Co-authored-by: Carlo Tacchella <tacchella.carlo@gmail.com>
Co-authored-by: Ace Suares <ace@suares.com>
Co-authored-by: devland <5208532+devland@users.noreply.github.com>
Co-authored-by: makmentins <maris.akmentins@h5p.group>
Co-authored-by: William Almnes <william.almnes@gmail.com>
Co-authored-by: William Almnes <william.almnes@h5p.group>
Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>
Co-authored-by: Gwen Tripet-Costet <gwenden31@gmail.com>
Co-authored-by: devland <adevland@gmail.com>
Co-authored-by: Damyon Wiese <111934118+echo360-damyon@users.noreply.github.com>
Languafe added a commit that referenced this pull request Jun 4, 2024
* JI-5157 Add CKEditor to wordpress

* JI-5408 Update CKEditor in wordpress (#244)

* Add cancel submit callback for h5p editor form

Allows the plugin to cancel validation and submission of the form
through a callback. Fixes https://github.com/h5p/h5p-moodle-plugin/issues/306
which expects the form to be submitted when it is canceled.

* Remove console.log

* JI-1235 Prevent pasting of restricted libraries

* Save content language even if it is not changed

* Fix whitelist check to be case insensitive

* Add support for more content type languages

* Add one more check

* Update eu.js

* Update ru.js

* Update pt.js

European PT translation

* Update tr.js

* fix: prevent resize if iframe is not ready

* JI-1497 Change audio URL icon

* JI-1405 Add support for additional icons after text

* JI-1526 Encode html before returning it as html

The callback should typically return html elements styles for highlighting the code. Since we don't do any styling for the highlighting we just have to encode the html.

* Update tr.js

* Create cs.js

Translating to cs

* Update cs.js

Translated to cs

* Updated German translation

* Create sv.json

* Rename sv.json to sv.js

* Fix invalid div element syntax

* Fix compatibility with newer jQuery versions

* Add missing language strings

* Fix variable usage consistency

* Remove unnecessary conversion

* Create sl.json

Added slovenian translation

* Rename sl.json to sl.js

* Update nl.js

* add chinese translation based on en.js

* Fix compatibility with newer jQuery versions

(cherry picked from commit 757f7053cd0af26df95b0f12f0141fe98848cea6)

* HFP-3008 Add content language to iframe

* Add content hub and a11y changes from Drupal git

See Drupal 7 git for git history for these commits.

* Fix missing merge from Drupal git

* Upgrade CKEditor to 4.14.1

* HFP-3008 Add language to iframe document instead of iframe

* HFP-3121 Update hub client

Add translations for reusing content

* HFP-3109 Update hub client

* Update hub client

* Create ko.json

This is a Korean translation

* JI-1927 Add new video widget translations

* JI-1927 Add Panopto mime type support in video widget

* Rename ko.json to ko.js

* JI-2026 Change confirmation message when reusing content

* Update nl.js

* Update Hub + translations

* Update nl.js

* Remove unused function

* Remove global user

* Revert "Remove global user"

This reverts commit fd3873fe813bf026ddfd311d20948ae8b4e920ed.

* Fix using language parameter instead of global user object

* Update Hub Client

* Update CKEditor 4.15.1

* JI-2080 Add H5PIntegration Hub object to init

* JI-2080 Update Hub Client

* Update hub client

* Update hub client

* Update hub client

* Update hub client css

* Update hub client

* JI-2271 Add flag determining whether content hub should be enabled

* JI-2271 Update hub client with pagination fix

* JI-2271 Update hub client

* HFP-3232 Change search placeholder text for content hub filters

* Fix PHP8.0 warning

Credits goes to Marina Glancy.

* Update hub client

* Revert "Update CKEditor 4.15.1"

This reverts commit 7f4fded5e5163330ff9c0cf1c7d08eb83ea90c56.

* Revert "Upgrade CKEditor to 4.14.1"

This reverts commit b9582fdde00dfb7b04f2dbf39f81325cb8061cee.

* JI-2316 Fix size bug for editor fields

* JI-2356 Update hub client

* Update hub client

* Update hub client

* Update hub client

* Fix edge case crashes after resetting the editor

* JI-2176 Implement new design for Tutorial and Example links

* JI-2176 Remove extra semicolons

* JI-2406 Update to version 4.16.1 of CKEditor

* JI-2406 Fix CKEditor field collapsing

The CKEditor input field would sometimes collapse because it uses an
internal element to determine the height of the input field, and this
element was hidden and removed from the DOM so the height returned
was invalid, causing the input height to collapse to 0. Setting the
getBody element of CKEditor to an element that is always visible
and not removed fixes this measurement problem.

* Fix bring back missing custom plugins

* JI-2406 Fix CKEditor collapsing if calculator element ever is hidden

Overrides the convertToPx function from
https://github.com/ckeditor/ckeditor4/blob/cae20318d46745cc46c811da4e7d68b38ca32449/core/tools.js#L899-L929
and instead adds the calculator element for every measurement
and removes it when it is done with the measurement.

* Update ko.js

* Fix bring back missing custom plugins

* HFP-2016/HFP-2282 Fix blinking CKEditor dialog

* HFP-2016/JI-2432 Fix resizing on exiting fullscreen

* JI-2176 Reduce size of buttons

* Add back code highlighter fix that got replaced

* JI-2506 Fix metadata form's dialogs from native JS to H5P.ConfirmationDialog

* Revert "JI-2506 Fix metadata form's dialogs from native JS to H5P.ConfirmationDialog"

This reverts commit 8b0d619b40413395f32c5b129d371aab9c68aeab.

* fix to finnish translation

* JI-2981 Fix JS files being loaded multiple times

This is an issue with complex editors/content types where code might be executing while it's being overwritten.
For example, this can happen when IV and CP are used together in Column and can cause strange bugs.

* Update to CKEditor 4.17.1

* Update ko.js

An updated translation into Korean.

* update Simplified Chinese translation and add missing translation.

* add zh.js Simplified Chinese translaton variant, WordPress platform requires this variant.

* add zh-hans.js Simplified Chinese translaton variant, Drupal platform requires this variant.

* Updated German locale

* JI-2981 Fix js loading tracker not being cleaned

* JI-1127 Stop using google font remotely
Fix #139

* JI-1127 Add LICENSE-2.0

* JI-1127 Add Readme license line

* updated all locales from English source

* HFP-3448 Add Vimeo source detection

* HFP-3448 Fix Vimeo URL regexp case sensitivity

The optional `channels` and `groups` parts are in fact characters so the
matching must be case sensitive.

* Fix single source for video providers

* JI-3494 Reuse the font from the core library (#150)

* JI-3485 Include patch version in library folder name (storage)

* Stop supporting PHP 5

* Added Upper Sorbian to language list

* JI-3620 Refactor use of glorified loop

The editor widgets relies on references to the parameter objects, 
changing the parameter object without updating the references means 
that the editor widgets will continue updating objects that won't be saved.

* Update sl.json

Fixed typos and added missing translation.

* Update nb.js (#166)

* Update nb.js

Updates of old and newly added strings.

* Update language/nb.js

fixed typo pointed out by @boyum

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* Update language/nb.js

fixed typo pointed out by @boyum

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

---------

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* Fixed dynamic properties deprecation in PHP 8.2 (#169)

* Add files via upload (#165)

Adding translation for Galician (gl)

* Update Italian Translation (#176)

With this commit the Italian translation was completed, which was only partially done in the language/it.js file

* Update h5peditor.js to include Papiamento language (#178)

Include  'pap-cw (Papiamento (Curaçao and Bonaire)) and
'pap-aw' (Papiamento (Aruba)

* JI-5152 Install CKEditor 5

* JI-5152 Use CKEditor 5 for html fields

* JI-5152 Fix falling back to DOM to get data

* JI-5387 Handle enterMode

* JI-5366 CKEditor tables (#181)

* JI-5366 Adding table plugins with online builder

Also added FontFamily and GeneralHtmlSupport for future use

* JI-5366 Implement table plugins

* JI-5366 Implement table caption

* JI-5366 Fix table caption in default editor

* Update readme for compiling scss

* JI-5366 Fix styling outside ckeditor

* JI-5366 Make default table look like ckeditor4

* JI-5366 Add styling to table headers

* JI-5366 Add table overflow protection

Aligned tables would spill out of text field

* JI-5366 Save overflow protection for view

* JI-5366 CSS cleanup

* Update README.md

Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* JI-5366 Use custom table plugin

* JI-5366 Avoid translation id conflict

* JI-5366 Update dependency

* JI-5366 Default tables to previous styling

---------

Co-authored-by: Erik <erik.langhaug@joubel.com>
Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

* JI-5387 CKEditor: Imitate entermode div in CKE 5 (#187)

Co-authored-by: Erik Langhaug <erik.langhaug@h5p.group>

* JI-5422 — CKE 5: Backwards compatibility font sizes (#186)

* JI-5422 CKE 5 backwards compatibility font sizes

add default font size as cke4

* JI-5422 Add 125% font size like cke4

* JI-5422 add custom font size support

---------

Co-authored-by: Vilde Stabell <vilde.voss.stabell@gmail.com>

* JI-3620 Refactor use of glorified loop

The editor widgets relies on references to the parameter objects, 
changing the parameter object without updating the references means 
that the editor widgets will continue updating objects that won't be saved.

* JI-3485 Include patch version in library folder name (storage)

* Fixed dynamic properties deprecation in PHP 8.2 (#169)

* JI-5784 Prevent cke5 from overflowing horizontally (#190)

* JI-5430 Implement font family choice for CKEditor (#188)

* JI-5387 CKEditor: change entermode if formats allowed (#189)

* JI-5424 fix formatted style

* JI-5366 CKEditor table fixes (#191)

* JI-5366 Default to left-aligned tables

* JI-5366 Default to left-aligned table headers

* Update dependencies and build CKEditor

---------

Co-authored-by: Erik Langhaug <erik.langhaug@h5p.group>

* JI-5682 cropper UI (#197)

* JI-5683 replace darkroom with cropper

* JI-5683 set new image for existing cropper instance

* JI-5682 add other handles and some UI

* JI-5682 hide handles on move/resize selector

* JI-5682 add selector masks

* JI-5682 move html inside cropper library

* JI-5682 add optional initial positioning and sizing options for selector

* JI-5682 update initialize function

* JI-5682 add buttons first draft

* JI-5682 finish cropper UI integration

* JI-5682 add comments

* JI-5682 remove unused lines

* JI-5682 update variable names

* JI-5682 replace onPointerUp functions with singularentity

* JI-5682 improve readability of updateMask

* JI-5682 reuse variables within crop function

* JI-5682 replace console.log with warning

* JI-5682 add empty lines

* JI-5682 update image loaded handling

* JI-5682 resize cropper on window resize

* JI-5682 add keyup event handlers and accessibility attributes

* JI-5682 improve cropper responsiveness

* JI-5682 update tooltip custom css class

* JI-5682 update custom cropper tooltip class

* JI-5812 Prevent CKEditor from deleting empty divs (#195)

* JI-5812 Prevent CKE from deleting empty divs

* Fix webpack config

* JI-5684 fix cropper rotation (#199)

* JI-5684 fix cropper rotation

* JI-5684 update crop limit logic

* JI-5684 fix scroll into view

* JI-5684 remove scroll into view

* JI-5366 CKEditor nested tables (#200)

* Fix webpack config

* JI-5366 Fix border style of nested tables

* Update CKE dependency and build

* Ji 5682 align cropper popup (#201)

* JI-5684 fix cropper rotation

* JI-5684 update crop limit logic

* JI-5684 fix scroll into view

* JI-5684 remove scroll into view

* JI-5682 align cropper popup

* JI-5682 update cropper align to work in cors iframe

* JI-5682 revert align cropper popup

* JI-5682 add new alignPopup function for crop tool

* JI-5682 update function description  with new param

---------

Co-authored-by: makmentins <maris.akmentins@h5p.group>

* JI-5681 fix crop selector sizing in edge (#202)

* JI-5681 fix crop selector sizing in edge

* JI-5681 fix floating point cropper selector dimensions

* JI-5681 put back padding value

* Ji 5682 additional UI changes (#203)

* JI-5681 fix crop selector sizing in edge

* JI-5681 fix floating point cropper selector dimensions

* JI-5681 put back padding value

* JI-5682 move container border and prevent user select around buttons for cropper

* JI-5839 CKEditor link improvements (#206)

* JI-5839 Add protocol, target and rel to links

Also some code cleanup

* JI-5839 Add underline to links, to mimic view

* Whitespace cleanup

* JI-5839 Style links more specifically

* JI-5842 Fix fontsize dropdown too large (#210)

* Compile scss

* Update CKEditor 5 table plugin

* Include the new CKEditor 5 build

* JI-5982 Upgrade CKE to version 41.1.0 (#213)

* JI-5982 Upgrade CKE to version 41.1.0

* Update ckeditor 5 to 41.1.0

* Include new CKEditor 5 build

---------

Co-authored-by: Erik Langhaug <erik.langhaug@h5p.group>

* JI-5884 update h5p-ckeditor-table version (#215)

* JI-5961 fix cke5 border bottom style (#214)

* JI-5884-update-h5p-ckeditor-table-version-again (#216)

* JI-5973 Change order and spacing of font size dropdown (#217)

* JI-6006 auto position cke toolbar dropdown panel (#218)

* JI-6023 ensure table overflow protection is added on cke destroy (#219)

* JI-5884 update cke5 deps (#220)

* JI-5787 Hide CKEditor link (#222)

* JI-6043 fix cropper popup height (#224)

* JI-6043 fix cropper popup height

* JI-6043 limit maxHeight

* JI-6042 Base CKE height on H5P iframe, not editor iframe (#225)

* JI-6042 Update CKE maxheight when CKE ui changes (#226)

* JI-6063 Downcast i to em in plugin instead (#227)

* JI-5452 remove compass and use webpack to build css (#228)

Co-authored-by: William Almnes <william.almnes@h5p.group>

* JI-5452 update prebuilt application.css file (#231)

* JI-6182 CKEditor disable sticky toolbar (#233)

* JI-6152 add drag and drop, and paste functionality to image widget (#230)

* JI-6152 add drag and drop, and paste functionality to image widget

* JI-6152 build css file

* JI-6152 fix bug with copyright html

* JI-6152 fix to make better accessible component

* JI-6152 build css production file

* JI-6152 adjust styling

* JI-6152 minor manual linting

* JI-6152 fix issues from review

* JI-6152 fix minor styling issues

* JI-6152 fix state

* JI-6152 add spanish translations

* JI-6152 add french translations

---------

Co-authored-by: William Almnes <william.almnes@h5p.group>
Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>

* Build/ji 4001 build third party libs (#232)

* JI-5452 update prebuilt application.css file

* JI-4001 build zebra_datepicker from npm

* JI-4001 simplify build

* JI-4001 change mode

* JI-4001 load zebra_datepicker

* JI-4001 remove unused dependency

* JI-4001 simplify setting jQuery global var

* JI-4001 simplify loading of zebra_datepicker

* JI-4001 remove duplicate folder

* JI-4001 add h5p-image-cropper to build flow

---------

Co-authored-by: Vilde Stabell <vilde.voss.stabell@gmail.com>

* Fix/ji 6152 review adjustments (#235)

* JI-6152 fix bug with replicating button and fix minor styling issues

* JI-6152 more styling adjustments

* JI-6152 fix styling issues and focus

* JI-6152 adjustments to badge

* JI-6152 remove inline styling

---------

Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>

* Feature/ji 6153 drag and drop video audio (#234)

* JI-6152 add drag and drop, and paste functionality to image widget

* JI-6152 build css file

* JI-6152 fix bug with copyright html

* JI-6152 fix to make better accessible component

* JI-6152 build css production file

* JI-6152 adjust styling

* JI-6152 minor manual linting

* JI-6152 fix issues from review

* JI-6152 fix minor styling issues

* JI-6153 create basic mvp of dnd for video/audio

* JI-6153 fix race condition when uploading and fix styling for box with quality input

* JI-6153 add support for pasting video files

* JI-6153 switch static text to use translations

* JI-6153 fix handling of error messages and improve accessibility

* JI-6153 use svg from css instead of code

* JI-6153 fix minor styling issues and minor bug

* JI-6153 fix reference to progress

* JI-6153 fix bug with replacing youtube url

* JI-6153 remove console.log

* JI-6153 fix issue after merge conflict

* JI-6153 fix styling issues

* JI-6153 handle input bug and fix aria label

* JI-6153 fix typo

* JI-6153 fix imports of svg

* JI-6153 fix styling issues and logic around replacing video

* JI-6253 update badge and adjust box scaling

* JI-6153 fix styling when uploading video

* JI-6153 create loading indicator when replacing url

* JI-6153 use single quotes instead of double

* JI-6153 more single quotes

* JI-6153 use correct icon for insert url

---------

Co-authored-by: William Almnes <william.almnes@h5p.group>

* JI-6153 add french translations

* JI-6152 fix various styling issues and positioning of copyright button (#237)

* JI-6152 fix various styling issues and positioning of copyright button

* JI-6152 adjust break point and hover styling

* Fix/ji 6153 review adjustments (#238)

* JI-6153 adjustments to styling and fixing bugs

* JI-6153 fix translations

* JI-6153 add spanish

* JI-6310 clean up unused tabs code

* HFP-3875 Turn group collapse button prototype into production version (#229)

* HFP-3864 Add prototype for list expand/collapse button

* HFP-3864 Check for collapse button before adding one

* HFP-3864 Show/hide collapse button based on list length

* HFP-3864 Listen to manual group collapsing

* HFP-3864 Ensure group collapsing functions are set

* HFP-3864 Move group collapsing functions up in code

* HFP-3875 Add translatable button texts

* HFP-3875-add-button-styling

* HFP-3875 Only show collapse button for ListEditor

* HFP-3875 Fix start text of button

* HFP-3875 Move CSS to stylesheet

* HFP-3875 Account for button height

* HFP-3875 Keep label with widget toggle buttons

* HFP-3875 Cover group initially collapsed

* HFP-3875 Clean up code

* HFP-3875 Adjust to font file v30

* HFP-3875 Fix merge conflict

* JI-6332 ensure image widget uses full width even if there are some float on previous elements (#242)

* Add Echo360 EchoVideos as a provider (#182)

* JI-6335 fix append metadata button (#243)

* Implement inline CKE plugin using classic function instead of arrow function

---------

Co-authored-by: Thomas Marstrander <marstranderthomas@gmail.com>
Co-authored-by: Paal Joergensen <pal.jorgensen@gmail.com>
Co-authored-by: Frode Petterson <frode.andre.petterson@gmail.com>
Co-authored-by: Iñigo Zendegi <izendegi@mondragon.edu>
Co-authored-by: maxtetdev <maxtet.dev@gmail.com>
Co-authored-by: Dinis Medeiros <formadordinis@gmail.com>
Co-authored-by: Merve Kartal <mervekartal@Tolgas-Mac-mini.local>
Co-authored-by: JPSchellenberg <jps@Lumi.education>
Co-authored-by: Rıdvan Altun <ridvanaltun@outlook.com>
Co-authored-by: Bohumil Havel <bohumil.havel@pdcon.cz>
Co-authored-by: Sebastian Rettig <sr258@users.noreply.github.com>
Co-authored-by: Xtractor Interactive AB <39831093+xtractorab@users.noreply.github.com>
Co-authored-by: Puhek <52817795+miropuhek@users.noreply.github.com>
Co-authored-by: viragom <67712564+viragom@users.noreply.github.com>
Co-authored-by: 徐征 <xuz@szlhxx.com>
Co-authored-by: Jeonghun Oh <totoromaum1@gmail.com>
Co-authored-by: Hannaes <hanna.solstad@joubel.com>
Co-authored-by: Sara Arjona <sara@moodle.com>
Co-authored-by: Frode Petterson <frode.petterson@joubel.com>
Co-authored-by: Erik Langhaug <erik.langhaug@joubel.com>
Co-authored-by: Ravi Majithia <ravikiran.majithia@joubel.com>
Co-authored-by: Jari <53904029+Urpokarhu1@users.noreply.github.com>
Co-authored-by: Sam Xu <sam.z.xu@gmail.com>
Co-authored-by: Sebastian Rettig <serettig@posteo.de>
Co-authored-by: Oliver Tacke <o.tacke@posteo.de>
Co-authored-by: j0kerZ <joker.wartune1527@gmail.com>
Co-authored-by: Ravi Majithia <77275193+ravimajithia@users.noreply.github.com>
Co-authored-by: Tor-Martin Karlsen <38659798+tmkarlsen@users.noreply.github.com>
Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>
Co-authored-by: Meirza <115134930+meirzamoodle@users.noreply.github.com>
Co-authored-by: Antonio Aneiros <77668828+antonioaneiros@users.noreply.github.com>
Co-authored-by: Carlo Tacchella <tacchella.carlo@gmail.com>
Co-authored-by: Ace Suares <ace@suares.com>
Co-authored-by: Erik Langhaug <erik.langhaug@h5p.group>
Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>
Co-authored-by: devland <adevland@gmail.com>
Co-authored-by: devland <5208532+devland@users.noreply.github.com>
Co-authored-by: makmentins <maris.akmentins@h5p.group>
Co-authored-by: makmentins <127746763+makmentins@users.noreply.github.com>
Co-authored-by: William Almnes <william.almnes@gmail.com>
Co-authored-by: William Almnes <william.almnes@h5p.group>
Co-authored-by: Gwen Tripet-Costet <gwenden31@gmail.com>
Co-authored-by: Damyon Wiese <111934118+echo360-damyon@users.noreply.github.com>

* Revert "JI-5408 Update CKEditor in wordpress (#244)"

This reverts commit 68a563d8757802caca43b6d650eac3aa3f6ad505.

* JI-5408 merge commit e217fd605a36f8c208f30306e1c2d208d6c90321 into cke wordpress

commit e217fd605a36f8c208f30306e1c2d208d6c90321
Author: devland <5208532+devland@users.noreply.github.com>
Date:   Wed Mar 6 12:49:11 2024 +0100

    JI-6043 fix cropper popup height (#224)

    * JI-6043 fix cropper popup height

    * JI-6043 limit maxHeight

commit 9503deca6ce98391696e067be124702f6cfdc681
Author: devland <5208532+devland@users.noreply.github.com>
Date:   Wed Jan 24 14:18:05 2024 +0100

    Ji 5682 additional UI changes (#203)

    * JI-5681 fix crop selector sizing in edge

    * JI-5681 fix floating point cropper selector dimensions

    * JI-5681 put back padding value

    * JI-5682 move container border and prevent user select around buttons for cropper

commit 2a0a77a1d028385c1fa799ea91b9f91463e6657b
Author: devland <5208532+devland@users.noreply.github.com>
Date:   Wed Jan 24 08:32:51 2024 +0100

    JI-5681 fix crop selector sizing in edge (#202)

    * JI-5681 fix crop selector sizing in edge

    * JI-5681 fix floating point cropper selector dimensions

    * JI-5681 put back padding value

commit 6d76d656d795e7e043c98d7792e2133c6c7cb704
Author: devland <5208532+devland@users.noreply.github.com>
Date:   Tue Jan 23 12:22:30 2024 +0100

    Ji 5682 align cropper popup (#201)

    * JI-5684 fix cropper rotation

    * JI-5684 update crop limit logic

    * JI-5684 fix scroll into view

    * JI-5684 remove scroll into view

    * JI-5682 align cropper popup

    * JI-5682 update cropper align to work in cors iframe

    * JI-5682 revert align cropper popup

    * JI-5682 add new alignPopup function for crop tool

    * JI-5682 update function description  with new param

    ---------

    Co-authored-by: makmentins <maris.akmentins@h5p.group>

commit 5a197af638d80633fadbbb57b526b220bed22402
Author: devland <5208532+devland@users.noreply.github.com>
Date:   Fri Jan 19 09:23:10 2024 +0100

    JI-5684 fix cropper rotation (#199)

    * JI-5684 fix cropper rotation

    * JI-5684 update crop limit logic

    * JI-5684 fix scroll into view

    * JI-5684 remove scroll into view

commit 7bda58051836ee18ec75e11c4aeb03f2a626010f
Author: devland <5208532+devland@users.noreply.github.com>
Date:   Mon Jan 15 12:01:52 2024 +0100

    JI-5682 cropper UI (#197)

    * JI-5683 replace darkroom with cropper

    * JI-5683 set new image for existing cropper instance

    * JI-5682 add other handles and some UI

    * JI-5682 hide handles on move/resize selector

    * JI-5682 add selector masks

    * JI-5682 move html inside cropper library

    * JI-5682 add optional initial positioning and sizing options for selector

    * JI-5682 update initialize function

    * JI-5682 add buttons first draft

    * JI-5682 finish cropper UI integration

    * JI-5682 add comments

    * JI-5682 remove unused lines

    * JI-5682 update variable names

    * JI-5682 replace onPointerUp functions with singularentity

    * JI-5682 improve readability of updateMask

    * JI-5682 reuse variables within crop function

    * JI-5682 replace console.log with warning

    * JI-5682 add empty lines

    * JI-5682 update image loaded handling

    * JI-5682 resize cropper on window resize

    * JI-5682 add keyup event handlers and accessibility attributes

    * JI-5682 improve cropper responsiveness

    * JI-5682 update tooltip custom css class

    * JI-5682 update custom cropper tooltip class

commit e442a251a6eda93043c637f5bf19beb60e92191b
Author: Ace Suares <ace@suares.com>
Date:   Thu Aug 17 01:55:25 2023 -0400

    Update h5peditor.js to include Papiamento language (#178)

    Include  'pap-cw (Papiamento (Curaçao and Bonaire)) and
    'pap-aw' (Papiamento (Aruba)

commit 08c81eb6502eb69b4e9b6e1cd61e6587b9e17757
Author: Carlo Tacchella <tacchella.carlo@gmail.com>
Date:   Mon Jul 24 11:21:39 2023 +0200

    Update Italian Translation (#176)

    With this commit the Italian translation was completed, which was only partially done in the language/it.js file

commit 0365b081efa8b55ab9fd58594aa599f9630268f6
Author: Antonio Aneiros <77668828+antonioaneiros@users.noreply.github.com>
Date:   Thu Mar 9 15:54:57 2023 +0100

    Add files via upload (#165)

    Adding translation for Galician (gl)

commit 389a551ae9c8a133a1944f0e8759ae366e531630
Author: Meirza <115134930+meirzamoodle@users.noreply.github.com>
Date:   Thu Mar 9 21:48:25 2023 +0700

    Fixed dynamic properties deprecation in PHP 8.2 (#169)

commit b08ca76e7a60bb3f0b8ba71a33844c7c63619cf8
Author: Tor-Martin Karlsen <38659798+tmkarlsen@users.noreply.github.com>
Date:   Tue Feb 7 10:16:18 2023 +0100

    Update nb.js (#166)

    * Update nb.js

    Updates of old and newly added strings.

    * Update language/nb.js

    fixed typo pointed out by @boyum

    Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

    * Update language/nb.js

    fixed typo pointed out by @boyum

    Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

    ---------

    Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>

commit 53dc7bdc57b17f5a0d55a8871a36d1b1bd631e70
Merge: d9eef44 3cd50b9
Author: Thomas <marstranderthomas@gmail.com>
Date:   Mon Aug 22 11:01:47 2022 +0200

    Merge pull request #153 from h5p/ji-3620-refactor-glorified-loop

    JI-3620 Refactor use of glorified loop

commit d9eef44af5b5676afbc6233af549e00ee2cee101
Merge: ca5cc43 1b1d061
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Tue Aug 9 10:59:31 2022 +0200

    Merge pull request #156 from miropuhek/patch-2

    Update sl.json

commit 1b1d06173ff2b39265919b6527f0ab2e4e460c48
Author: Puhek <52817795+miropuhek@users.noreply.github.com>
Date:   Wed Jul 20 14:28:06 2022 +0200

    Update sl.json

    Fixed typos and added missing translation.

commit 3cd50b91e693745a020e3a3fe21b2e38fd7aba0a
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Thu Jun 2 15:35:05 2022 +0200

    JI-3620 Refactor use of glorified loop

    The editor widgets relies on references to the parameter objects,
    changing the parameter object without updating the references means
    that the editor widgets will continue updating objects that won't be saved.

commit ca5cc43fdb34fe164588e746dfe52d63665a3354
Merge: e0152a1 08de174
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Thu Jun 2 08:11:10 2022 +0200

    Merge pull request #142 from sr258/update-locales

    updated all locales from English source

commit e0152a1eea8dea9d550f7f10c2b0d9bf936ba0b2
Merge: c7dbe37 bc27858
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Fri May 27 11:09:24 2022 +0200

    Merge pull request #151 from sr258/upper-sorbian

    Added Upper Sorbian to language list

commit bc278581d1c2f89dc177aec891714b6090162667
Author: Sebastian Rettig <serettig@posteo.de>
Date:   Sun May 22 19:51:43 2022 +0200

    Added Upper Sorbian to language list

commit c7dbe3778d201e154d084606f6dbe98914c535ba
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Tue May 10 13:48:42 2022 +0200

    Stop supporting PHP 5

commit d5196243cfffc5362aeccad5596e4323e4aa1284
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Fri May 6 15:35:51 2022 +0200

    JI-3485 Include patch version in library folder name (storage)

commit 3e62178a3c94e7e3848183b5e9ebe7cafb3ecbb3
Author: Ravi Majithia <77275193+ravimajithia@users.noreply.github.com>
Date:   Wed May 4 14:01:17 2022 +0200

    JI-3494 Reuse the font from the core library (#150)

commit 597a6361cd9513293cb90948db8031367274821a
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Tue Apr 12 14:36:31 2022 +0200

    Fix single source for video providers

commit 17ae3e61dc3a3fa5a984ccd91a96c03e99bde476
Author: Erik Langhaug <erik.langhaug@joubel.com>
Date:   Fri Apr 1 15:55:46 2022 +0200

    HFP-3448 Fix Vimeo URL regexp case sensitivity

    The optional `channels` and `groups` parts are in fact characters so the
    matching must be case sensitive.

commit f1f196e2fb9a68c94e21aa15cf04ae030fae55c4
Author: Erik Langhaug <erik.langhaug@joubel.com>
Date:   Fri Apr 1 15:47:56 2022 +0200

    HFP-3448 Add Vimeo source detection

commit 0ea36d26fcc0af9c0dbc066e3810d57250e7c1d5
Merge: 1b31b87 4d05ad2
Author: Ravi Majithia <77275193+ravimajithia@users.noreply.github.com>
Date:   Thu Mar 3 16:21:14 2022 +0100

    Merge pull request #145 from h5p/JI-1127-stop-using-external-google-fonts

    JI-1127 Stop using google font remotely

commit 08de174f0d20bca73916f5bbd041227ca3760ec3
Author: Sebastian Rettig <serettig@posteo.de>
Date:   Wed Mar 2 07:29:09 2022 +0100

    updated all locales from English source

commit 1b31b87b5e92f17d2c17c4f48f05f3aefe9cd774
Merge: 84b0d7a 873c32f
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Wed Mar 2 07:02:21 2022 +0100

    Merge pull request #141 from samumist/master

    Update Simplified Chinese Translation

commit 84b0d7abca4944c598be0adcdec5e51942b0e700
Merge: 80bd714 b346d47
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Wed Mar 2 07:01:47 2022 +0100

    Merge pull request #143 from sr258/update-German-locale

    Updated German locale

commit 4d05ad2c161f936cfc489b8708e7ad82fc542ea9
Author: j0kerZ <joker.wartune1527@gmail.com>
Date:   Mon Feb 28 15:59:37 2022 +0100

    JI-1127 Add Readme license line

commit 83c3d74b9db20577cd8a0cde0d6a333b96150c30
Author: j0kerZ <joker.wartune1527@gmail.com>
Date:   Mon Feb 28 15:55:21 2022 +0100

    JI-1127 Add LICENSE-2.0

commit bdb53ee81cbe49ed0f0b54452872506297c939ac
Author: j0kerZ <joker.wartune1527@gmail.com>
Date:   Mon Feb 28 10:23:31 2022 +0100

    JI-1127 Stop using google font remotely
    Fix #139

commit 80bd7144f5ca24e63be59bae4ef47e9cb64d257d
Merge: 70dc2da f712ee5
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Fri Feb 25 16:29:22 2022 +0100

    Merge pull request #144 from otacke/JI-2981

    JI-2981 Fix js loading tracker not being cleaned

commit f712ee5963c2904eba6c993bc8c430c327f0d07f
Author: Oliver Tacke <o.tacke@posteo.de>
Date:   Fri Feb 25 13:44:20 2022 +0100

    JI-2981 Fix js loading tracker not being cleaned

commit b346d47908127155f591238c57b53f83ce1e1252
Author: Sebastian Rettig <serettig@posteo.de>
Date:   Sat Feb 19 17:51:39 2022 +0100

    Updated German locale

commit 873c32f7349f2434c4f29e0849d4843773563a0c
Author: Sam Xu <sam.z.xu@gmail.com>
Date:   Thu Feb 17 10:26:57 2022 +0800

    add zh-hans.js Simplified Chinese translaton variant, Drupal platform requires this variant.

commit 6ff4c67a951f4d245154c233a90c2a97af3fe549
Author: Sam Xu <sam.z.xu@gmail.com>
Date:   Thu Feb 17 10:26:05 2022 +0800

    add zh.js Simplified Chinese translaton variant, WordPress platform requires this variant.

commit 98725cdcf126bf2e8dca70f24e265c195f856308
Author: Sam Xu <sam.z.xu@gmail.com>
Date:   Thu Feb 17 10:24:33 2022 +0800

    update Simplified Chinese translation and add missing translation.

commit 70dc2da2f0702ec4a2483bfb7cbdacf9e843389d
Merge: 1ae19fd 1f9f9ad
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Tue Feb 8 20:57:36 2022 +0100

    Merge pull request #140 from totoromaum/patch-3

    Update ko.js

commit 1f9f9ad13bad46d5e24b141871dfda6c13a6a377
Author: Jeonghun Oh <totoromaum1@gmail.com>
Date:   Tue Feb 1 21:54:23 2022 +0900

    Update ko.js

    An updated translation into Korean.

commit 1ae19fdb80839b32dad3846d6b0a5c745f8f6187
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Thu Jan 6 09:28:28 2022 +0100

    Update to CKEditor 4.17.1

commit 909718483fa121945fc0d65ac0a52495824b74b9
Merge: c886fa6 9869eac
Author: Thomas <marstranderthomas@gmail.com>
Date:   Thu Jan 6 16:19:07 2022 +0100

    Merge pull request #137 from h5p/ji-2981-prevent-loading-same-js-file-multiple-times

    JI-2981 Fix JS files being loaded multiple times

commit 9869eac9d50d079aabcb11552900b8c22ebaab2e
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Jan 5 13:41:42 2022 +0100

    JI-2981 Fix JS files being loaded multiple times

    This is an issue with complex editors/content types where code might be executing while it's being overwritten.
    For example, this can happen when IV and CP are used together in Column and can cause strange bugs.

commit c886fa6ded498bbe0148e9484f9b1534facc264e
Merge: 2e70b22 9c30a1a
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Sun Oct 31 05:24:30 2021 +0100

    Merge pull request #135 from mediamaisteri/master

    fix to finnish translation

commit 9c30a1a5ac606798b9acdfc8d609232406521a31
Author: Jari <53904029+Urpokarhu1@users.noreply.github.com>
Date:   Mon Oct 25 11:08:21 2021 +0300

    fix to finnish translation

commit 2e70b2262ec7a9fe18051a2d747ae65fcb91e369
Author: Ravi Majithia <ravikiran.majithia@joubel.com>
Date:   Fri Jul 30 12:27:28 2021 +0200

    Revert "JI-2506 Fix metadata form's dialogs from native JS to H5P.ConfirmationDialog"

    This reverts commit 8b0d619b40413395f32c5b129d371aab9c68aeab.

commit 8b0d619b40413395f32c5b129d371aab9c68aeab
Author: Ravi Majithia <ravikiran.majithia@joubel.com>
Date:   Thu Jul 29 17:31:31 2021 +0200

    JI-2506 Fix metadata form's dialogs from native JS to H5P.ConfirmationDialog

commit fb641b09cebf29872a82d6034769c07efb46faa9
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Tue Jul 20 09:59:59 2021 +0200

    Add back code highlighter fix that got replaced

commit 51bc652508b98b1d71c8017d73a679e3c1236466
Merge: 67a3c62 e66b593
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Tue Jul 20 09:58:50 2021 +0200

    Merge branch 'release'

commit 67a3c62dc65754405241d7b931d4e424f0e38d0b
Merge: e46904f 3b2d0b6
Author: Erik Langhaug <erik.langhaug@joubel.com>
Date:   Thu Jul 1 09:22:21 2021 +0200

    Merge branch 'master' into JI-2176-tutorial-example-links-new-design

commit e46904f85c61f3c20d8e77b03eabedbbadf1939e
Author: Erik Langhaug <erik.langhaug@joubel.com>
Date:   Thu Jul 1 09:21:21 2021 +0200

    JI-2176 Reduce size of buttons

commit 3b2d0b65cd882c485b6575bb80948c9831c6a489
Merge: 2f319eb 0a450e3
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Thu Jun 24 15:37:25 2021 +0200

    Merge pull request #133 from totoromaum/patch-2

    Update ko.js

commit 2f319eb31a16644bb5e864413926d88f8873954b
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Mon Jun 21 16:21:22 2021 +0200

    HFP-2016/JI-2432 Fix resizing on exiting fullscreen

commit 237b2cf4d4c49443706bae64e6335611da30f8e7
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Mon Jun 21 15:33:46 2021 +0200

    HFP-2016/HFP-2282 Fix blinking CKEditor dialog

commit ea51e758c9861f2b0b5ef5c282d6188929f7285f
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Thu Jun 10 20:40:03 2021 +0200

    Fix bring back missing custom plugins

commit 0a450e3f113a9c82a5e7a9c0866c836fab069caf
Author: Jeonghun Oh <totoromaum1@gmail.com>
Date:   Sun Jun 13 17:50:06 2021 +0900

    Update ko.js

commit e66b5936e28b3c3ce71acc8ada6cc3819a32a041
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Fri Jun 11 13:08:46 2021 +0200

    JI-2406 Fix CKEditor collapsing if calculator element ever is hidden

    Overrides the convertToPx function from
    https://github.com/ckeditor/ckeditor4/blob/cae20318d46745cc46c811da4e7d68b38ca32449/core/tools.js#L899-L929
    and instead adds the calculator element for every measurement
    and removes it when it is done with the measurement.

commit 1e19de0be3b7b1700cd2a03fd38608740d93d376
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Thu Jun 10 20:40:03 2021 +0200

    Fix bring back missing custom plugins

commit a31ecb6a4953680a0cdbbd79b22ac90188edd3d5
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Sat May 29 13:37:34 2021 +0200

    JI-2406 Fix CKEditor field collapsing

    The CKEditor input field would sometimes collapse because it uses an
    internal element to determine the height of the input field, and this
    element was hidden and removed from the DOM so the height returned
    was invalid, causing the input height to collapse to 0. Setting the
    getBody element of CKEditor to an element that is always visible
    and not removed fixes this measurement problem.

commit ff0de697ead96b1a030ab95a114d7596cf16c346
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Sat May 29 13:34:53 2021 +0200

    JI-2406 Update to version 4.16.1 of CKEditor

commit b643214e70ff425ab90ca45ba17aacc37709b608
Author: Erik Langhaug <erik.langhaug@joubel.com>
Date:   Wed Jun 2 09:44:57 2021 +0200

    JI-2176 Remove extra semicolons

commit c5549033905cf10acd0b50921bc9ab86a44c5da6
Author: Erik Langhaug <erik.langhaug@joubel.com>
Date:   Mon May 31 15:27:09 2021 +0200

    JI-2176 Implement new design for Tutorial and Example links

commit 7bc192798f8f6e1dee34891b56f3bf60ab320f3d
Author: Frode Petterson <frode.petterson@joubel.com>
Date:   Mon Apr 26 16:14:05 2021 +0200

    Fix edge case crashes after resetting the editor

commit 3a799467a83b120278f385f81a971607c3b86b67
Merge: 21246d9 bb685e1
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Thu Apr 22 15:57:36 2021 +0200

    Merge branch 'fix-improved-attribute-filtering'

commit 21246d92ac2ad39603746adb9b92169bb28f24e2
Merge: c962010 17e9131
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Wed Apr 14 21:07:54 2021 +0200

    Merge branch 'stable'

commit 17e913170daf1836475e82202bcd627f7abcae26
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Wed Apr 14 16:45:21 2021 +0200

    Update hub client

commit 3b74debbfcb0d62547bfe79c7de97586cd91865d
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Wed Apr 14 16:09:56 2021 +0200

    Update hub client

commit c9620109cceeaf312e9d2167679ac6cf125a317c
Merge: 40015f5 2edfd9b
Author: Frode Petterson <frode.petterson@joubel.com>
Date:   Thu Apr 8 13:13:33 2021 +0200

    Merge pull request #128 from sarjona/PHP80

    Fix PHP8.0 warning

commit 40015f54a05f4929cc3a05263991837514beb733
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Tue Apr 6 10:30:37 2021 +0200

    Update hub client

commit a8c5ededf87cff94349daa9ccd14819de9c27fc7
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Sun Mar 28 16:39:02 2021 +0200

    JI-2356 Update hub client

commit aa91890a9d44d851b5eec6fd087aa322e23dda45
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Wed Mar 24 10:45:59 2021 +0100

    JI-2316 Fix size bug for editor fields

commit 712ffa96fc6248f7bbb44756994d1da70c2bdb35
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Wed Mar 24 10:35:47 2021 +0100

    Revert "Upgrade CKEditor to 4.14.1"

    This reverts commit b9582fdde00dfb7b04f2dbf39f81325cb8061cee.

commit 810ab10886c9e3bb3653642c1f46598e5d4561da
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Wed Mar 24 10:27:18 2021 +0100

    Revert "Update CKEditor 4.15.1"

    This reverts commit 7f4fded5e5163330ff9c0cf1c7d08eb83ea90c56.

commit defa025458187c607173aefa15b7caffbfc6c1e8
Merge: 3b4e867 4cb6af3
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Tue Mar 23 10:57:41 2021 +0100

    Merge branch 'master' into release

commit 4cb6af36f77acf054a4039dd1cda399a8366580d
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Fri Mar 19 11:06:14 2021 +0100

    Update hub client

commit 2edfd9b9e72d20e3b61f17a6836da21edb370624
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Mar 17 16:11:45 2021 +0100

    Fix PHP8.0 warning

    Credits goes to Marina Glancy.

commit 9f631dfdfa4805c7c133ac9a2ce0b7571867e1e7
Author: Hannaes <hanna.solstad@joubel.com>
Date:   Fri Mar 12 16:42:33 2021 +0100

    HFP-3232 Change search placeholder text for content hub filters

commit d1fdefa68d54b0dc0ba0a68291692dad3baf38b6
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Mon Feb 22 12:24:00 2021 +0100

    JI-2271 Update hub client

commit 6b563d0c7ea4f82eacace5169252e868dd322aea
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Thu Feb 11 12:32:53 2021 +0100

    JI-2271 Update hub client with pagination fix

commit ffee1a9f9e1168abe6ae855c6c575dee95afdda5
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Thu Feb 11 12:32:02 2021 +0100

    JI-2271 Add flag determining whether content hub should be enabled

commit 3f2f4d91c3355beff917db13158bfef6b3eb23c3
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Wed Feb 10 12:28:27 2021 +0100

    Update hub client

commit 3b208d7172472615d9866692926fb274bd2360a1
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Dec 2 16:26:01 2020 +0100

    Update hub client css

commit babdd63132f47731ff74c7fe8bd02d2918b4b2d0
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Wed Dec 2 11:37:57 2020 +0100

    Update hub client

commit 24f24856a21b21d282aac8c9f6b62871cd97b9f0
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Fri Nov 27 14:04:14 2020 +0100

    Update hub client

commit bbfa5460d4b9adc71b71754a0d9bc890da384e7a
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Fri Nov 27 13:58:59 2020 +0100

    Update hub client

commit 301faf942dcd01b0d3fcfdd99cb445490dfd9741
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Thu Nov 26 16:14:17 2020 +0100

    JI-2080 Update Hub Client

commit ce47bf9461fe36ae2c38f5b951f3fedffd8cbbcc
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Thu Nov 26 15:01:24 2020 +0100

    JI-2080 Add H5PIntegration Hub object to init

commit 7f4fded5e5163330ff9c0cf1c7d08eb83ea90c56
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Tue Nov 10 16:21:50 2020 +0100

    Update CKEditor 4.15.1

commit 225da1b0b3e95a5354d70d14684a20969239ce90
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Nov 4 13:39:19 2020 +0100

    Update Hub Client

commit e6dd35bc25d46930edcef1951435c6d7a2f0d4e1
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Nov 4 13:25:47 2020 +0100

    Fix using language parameter instead of global user object

commit b26833218c3fae8e18713ea3e7a39865e7121f08
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Nov 4 13:24:59 2020 +0100

    Revert "Remove global user"

    This reverts commit fd3873fe813bf026ddfd311d20948ae8b4e920ed.

commit fd3873fe813bf026ddfd311d20948ae8b4e920ed
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Nov 4 11:53:03 2020 +0100

    Remove global user

commit 05aaaa7905ad1aa97ea4a3cb72d70c41e958561b
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Nov 4 10:32:40 2020 +0100

    Remove unused function

commit a180213ae50519500ca6708c64c52c6641cef435
Merge: 4d3a365 433dee9
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Fri Oct 30 10:40:31 2020 +0100

    Merge pull request #122 from viragom/patch-2

    Update nl.js

commit 4d3a365c408360b994f9948b9b4b4e1e1b10fea1
Merge: 4fd5d22 616c8d9
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Fri Oct 30 10:40:24 2020 +0100

    Merge pull request #123 from viragom/patch-3

    Update nl.js

commit 616c8d9ceeb86715e82c7189a741838d77d3db43
Author: viragom <67712564+viragom@users.noreply.github.com>
Date:   Wed Oct 28 17:02:36 2020 +0100

    Update nl.js

commit 4fd5d227cfcc49f39f813e0eae9fce8158057ccf
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Oct 28 17:02:24 2020 +0100

    Update Hub + translations

commit 433dee9cf129a9fbef7f451ec4ab4703ef146333
Author: viragom <67712564+viragom@users.noreply.github.com>
Date:   Wed Oct 28 16:56:38 2020 +0100

    Update nl.js

commit 613e6e4d6dd7cb85cb2e7e52b7f284f09fafadec
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Oct 28 16:46:26 2020 +0100

    JI-2026 Change confirmation message when reusing content

commit 5f8aac36ea3a530228c42f3bf681ebedadd3aa2d
Merge: 9f4eccb 6aacef1
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Thu Oct 15 21:13:37 2020 +0200

    Merge pull request #119 from totoromaum/patch-1

    Create ko.json

commit 6aacef15c558a57e7d5bd4622c0cdeb4834d59a5
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Thu Oct 15 21:13:21 2020 +0200

    Rename ko.json to ko.js

commit 9f4eccb7b71bec09b022f73d4cd53e2e2c72914d
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Sep 30 13:51:04 2020 +0200

    JI-1927 Add Panopto mime type support in video widget

commit 66c4923d435b1617d25bf983da6b30d4d7451501
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Sep 30 13:50:29 2020 +0200

    JI-1927 Add new video widget translations

commit 04edd32382a49329e80b6ffaa308cc2af121023f
Author: Jeonghun Oh <totoromaum1@gmail.com>
Date:   Wed Sep 30 18:46:55 2020 +0900

    Create ko.json

    This is a Korean translation

commit e1e7a84d4cfb908e8526f1987cf3e19c1dc9a8c6
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Wed Sep 23 08:37:18 2020 +0200

    Update hub client

commit db774cc3936ee4a0ccaaf47f18558369589cbcad
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Wed Sep 16 15:34:16 2020 +0200

    HFP-3109 Update hub client

commit 991270e104786ea4a2bbe2aeacb60a4c1a3fc067
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Mon Sep 14 14:19:51 2020 +0200

    HFP-3121 Update hub client

    Add translations for reusing content

commit 3a6465df02eaded06061bea9c970a0c52aeb048d
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Fri Aug 28 16:55:17 2020 +0200

    HFP-3008 Add language to iframe document instead of iframe

commit b9582fdde00dfb7b04f2dbf39f81325cb8061cee
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Fri Aug 28 14:09:25 2020 +0200

    Upgrade CKEditor to 4.14.1

commit 5c9871d7897ab36ba8e5c43c34cfab849d23cca6
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Fri Aug 28 11:25:55 2020 +0200

    Fix missing merge from Drupal git

commit 04bd75b5cedf0fadf5a6768baec109b240919162
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Fri Aug 28 10:39:51 2020 +0200

    Add content hub and a11y changes from Drupal git

    See Drupal 7 git for git history for these commits.

commit 9c6f428b5fa452f7456e08d90769ff3d4e4d3b31
Merge: d02a845 bd3bd78
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Tue Aug 25 16:18:25 2020 +0200

    Merge branch 'master' of github.com:h5p/h5p-editor-php-library

commit d02a845864e0d2ddb4a9cca342032ac0e26a9774
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Tue Aug 25 16:17:53 2020 +0200

    HFP-3008 Add content language to iframe

commit 3b4e867e6892a18304816b6eab01d905e0fe33a4
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Mon May 18 11:34:28 2020 +0200

    Fix compatibility with newer jQuery versions

    (cherry picked from commit 757f7053cd0af26df95b0f12f0141fe98848cea6)

commit bd3bd7861f2fda498a130bbf354e4f85607f06ad
Merge: 062a04f 5f0e4fe
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Wed Jul 8 08:19:56 2020 +0200

    Merge pull request #118 from samumist/master

    Add Simplified Chinese translation

commit 5f0e4fec7b05cc1b600e2e596838577ab5dd4c19
Author: 徐征 <xuz@szlhxx.com>
Date:   Wed Jul 8 11:52:24 2020 +0800

    add chinese translation based on en.js

commit 062a04fe46fe6f2c2d08340f71f01cba08386f4f
Merge: d131a0d 064c011
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Fri Jul 3 15:29:18 2020 +0200

    Merge pull request #117 from viragom/patch-1

    Update nl.js

commit 064c01109bd96b46c4ddcb7a855a0b8f22ff8ccb
Author: viragom <67712564+viragom@users.noreply.github.com>
Date:   Fri Jul 3 13:53:40 2020 +0200

    Update nl.js

commit d131a0deac311288b0826c6d4c4264cd2d22667b
Merge: d3ab5e9 676b956
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Fri Jun 12 12:46:33 2020 +0200

    Merge pull request #114 from miropuhek/patch-1

    Create sl.json

commit 676b9567cbe56c0763d216f6e485e335b0860a32
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Fri Jun 12 12:46:20 2020 +0200

    Rename sl.json to sl.js

commit a4f295cd2e304bba5269532723fe24c396b4496a
Author: Puhek <52817795+miropuhek@users.noreply.github.com>
Date:   Wed Jun 10 15:58:56 2020 +0200

    Create sl.json

    Added slovenian translation

commit d3ab5e93dd6f8917b5ea77253c6221912df973a6
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Tue Jun 9 12:19:10 2020 +0200

    Remove unnecessary conversion

commit 050a6845bc61f66aecaf3ed4616ca4596ae17481
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Tue Jun 9 11:09:01 2020 +0200

    Fix variable usage consistency

commit 8a2976316281442497abeeed2f04cad216dca069
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Tue May 19 09:53:07 2020 +0200

    Add missing language strings

commit cb3aec72223cd9af4ba4297bbd48cde3eeac28f8
Merge: 757f705 fbe5553
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Mon May 18 11:34:45 2020 +0200

    Merge branch 'master' of github.com:h5p/h5p-editor-php-library

commit 757f7053cd0af26df95b0f12f0141fe98848cea6
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Mon May 18 11:34:28 2020 +0200

    Fix compatibility with newer jQuery versions

commit fbe555359edb4277a74761f619d355f24354db51
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Fri May 15 15:09:49 2020 +0200

    Fix invalid div element syntax

commit 70813844ba92bf2edaa542944e8d4754b86983e3
Merge: f1d2897 9efde1b
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Mon Apr 6 13:57:11 2020 +0200

    Merge pull request #111 from xtractorab/patch-1

    Create sv.json

commit 9efde1b8360f65f082fb5c13462a56915d221dc8
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Mon Apr 6 13:56:58 2020 +0200

    Rename sv.json to sv.js

commit 3cc41a94bb5a5eec78758d02c863c302874855cb
Author: Xtractor Interactive AB <39831093+xtractorab@users.noreply.github.com>
Date:   Fri Apr 3 11:23:07 2020 +0200

    Create sv.json

commit f1d2897467958c68901dd8a60aaff0d635c020e1
Merge: 079be07 057d5bc
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Mon Mar 9 08:43:40 2020 +0100

    Merge pull request #109 from sr258/german-translations

    Updated German translation

commit 057d5bcb8a65c16e3559f3bd760cdb22efecca03
Author: Sebastian Rettig <sr258@users.noreply.github.com>
Date:   Thu Mar 5 18:13:07 2020 +0100

    Updated German translation

commit 079be076aecceef375bb9390400d53328ac6ec52
Merge: a1ce491 ae2cf62
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Tue Feb 18 15:44:48 2020 +0100

    Merge pull request #108 from bhavel/patch-4

    Update cs.js

commit ae2cf62a1d37210a28807f07e074e868780c1ca4
Author: Bohumil Havel <bohumil.havel@pdcon.cz>
Date:   Mon Feb 17 13:52:03 2020 +0100

    Update cs.js

    Translated to cs

commit a1ce491018bbd3be189ebf03caf8b01c2e35d8f6
Merge: 9eef46e d6f8bea
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Fri Feb 7 13:09:24 2020 +0100

    Merge pull request #107 from bhavel/patch-3

    Create cs.js

commit 9eef46ec2e453e147605145be14e6de0c198321c
Merge: 3fd5373 6d6b53c
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Fri Feb 7 13:09:00 2020 +0100

    Merge pull request #106 from ridvanaltun/patch-1

    Update tr.js

commit d6f8bea87b64ffe0135a69ccad34698aec9321c0
Author: Bohumil Havel <bohumil.havel@pdcon.cz>
Date:   Tue Feb 4 12:43:42 2020 +0100

    Create cs.js

    Translating to cs

commit 6d6b53c417228dccad9a5ebcccbaa87e800377b3
Author: Rıdvan Altun <ridvanaltun@outlook.com>
Date:   Fri Jan 31 21:22:12 2020 +0300

    Update tr.js

commit 3fd53737edb2080b45a0a21ffff8a22fbc13e065
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Mon Jan 6 13:42:42 2020 +0100

    JI-1526 Encode html before returning it as html

    The callback should typically return html elements styles for highlighting the code. Since we don't do any styling for the highlighting we just have to encode the html.

commit 3ac63bb5082d36d592d8140f5e74b611da67e403
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Wed Dec 18 12:35:02 2019 +0100

    JI-1405 Add support for additional icons after text

commit 310daa0d42e0d067f3d15b5ba67f4797d5993a85
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Tue Dec 17 10:15:50 2019 +0100

    JI-1497 Change audio URL icon

commit aef629aa0f0ea8dd1c843183d356bacd81bbdbd8
Merge: 117f06f 0348dd4
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Mon Dec 9 08:32:53 2019 +0100

    Merge pull request #105 from Lumieducation/fix/resize-iframe-not-ready

    fix: prevent resize if iframe is not ready

commit 117f06f61942e2b5f491f3cee6271523d05a968f
Merge: e0f792c 6a99386
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Mon Dec 9 08:23:58 2019 +0100

    Merge pull request #104 from mervekartal/master

    Update tr.js

commit 0348dd440719c3749f3ccd1bfd71515fd4249e34
Author: JPSchellenberg <jps@Lumi.education>
Date:   Thu Dec 5 09:58:10 2019 +0100

    fix: prevent resize if iframe is not ready

commit 6a99386fdace66005a69f12f694e09a1387dee28
Author: Merve Kartal <mervekartal@Tolgas-Mac-mini.local>
Date:   Tue Dec 3 12:56:05 2019 +0300

    Update tr.js

commit e0f792c8af6ab7cb0b278c6de6aa688efa15c3d2
Merge: 9123098 4795ed6
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Mon Nov 25 09:43:04 2019 +0100

    Merge pull request #103 from dinism/patch-1

    Update pt.js

commit 4795ed60addc38f63a1e85f2b0a0028122c2f2d8
Author: Dinis Medeiros <formadordinis@gmail.com>
Date:   Fri Nov 22 21:56:19 2019 +0000

    Update pt.js

    European PT translation

commit 91230988a00a09941ecf6225aed9549c9fa34070
Merge: 7db00ea 40351ee
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Wed Nov 20 08:22:27 2019 +0100

    Merge pull request #102 from maxtetdev/patch-5

    Update ru.js

commit 40351eed95d01e29757d95faf9abbb914b461b70
Author: maxtetdev <maxtet.dev@gmail.com>
Date:   Mon Nov 18 21:01:14 2019 +0200

    Update ru.js

commit 7db00ead70ae79ba494f5b1df68d2208572583c4
Merge: 687c698 9f510b1
Author: Pål Jørgensen <pal.jorgensen@gmail.com>
Date:   Mon Nov 18 09:57:47 2019 +0100

    Merge pull request #101 from izendegi/patch-6

    Update eu.js

commit 9f510b164bc71d91e16b8f8223ea6e18a4773237
Author: Iñigo Zendegi <izendegi@mondragon.edu>
Date:   Sat Nov 16 19:19:13 2019 +0100

    Update eu.js

commit 687c698e679023ba5da46e260bb8ece231f2d586
Merge: df63b96 40174e4
Author: Thomas <marstranderthomas@gmail.com>
Date:   Wed Nov 13 11:41:33 2019 +0100

    Merge pull request #100 from h5p/add-cancel-callback-for-editor-form

    Add cancel submit callback for h5p editor form

commit df63b962c3eeb60eed9daa30d207f803418f91ad
Merge: 94299ec bd871a3
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Wed Nov 13 10:24:31 2019 +0100

    Merge branch 'release'

commit 94299eca83eb30f65834c2c88851396123fb2b47
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Tue Nov 12 15:45:52 2019 +0100

    Add one more check

commit 40b547e8b8129636e032ef558d6c0ec81def671b
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Tue Nov 5 14:20:02 2019 +0100

    Add support for more content type languages

commit bd871a3181f3e4a343351ae6a22d773a74d928b7
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Tue Nov 5 11:00:31 2019 +0100

    Fix whitelist check to be case insensitive

commit 91083c9ce59687fd3b8623b135ddab5529f6c0c6
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Fri Nov 1 13:03:28 2019 +0100

    Save content language even if it is not changed

commit 5af0c9aaa25c8813016cf0dc75e068e20228133e
Author: Frode Petterson <frode.andre.petterson@gmail.com>
Date:   Fri Nov 1 10:36:06 2019 +0100

    JI-1235 Prevent pasting of restricted libraries

commit 9361892a22ac6ab91e010e0b8a0a0e836f45a16a
Author: Paal Joergensen <pal.jorgensen@gmail.com>
Date:   Wed Oct 30 15:56:53 2019 +0100

    Remove console.log

commit 40174e4bbacc8d84e1b1f237e1905b47f8133bb6
Author: Thomas Marstrander <marstranderthomas@gmail.com>
Date:   Mon Oct 14 15:55:51 2019 +0200

    Add cancel submit callback for h5p editor form

    Allows the plugin to cancel validation and submission of the form
    through a callback. Fixes https://github.com/h5p/h5p-moodle-plugin/issues/306
    which expects the form to be submitted when it is canceled.

* JI-5408 revert h5p-hub-client build to wordpress updates

---------

Co-authored-by: Vilde Stabell <vilde.voss.stabell@gmail.com>
Co-authored-by: Thomas Marstrander <marstranderthomas@gmail.com>
Co-authored-by: Paal Joergensen <pal.jorgensen@gmail.com>
Co-authored-by: Frode Petterson <frode.andre.petterson@gmail.com>
Co-authored-by: Iñigo Zendegi <izendegi@mondragon.edu>
Co-authored-by: maxtetdev <maxtet.dev@gmail.com>
Co-authored-by: Dinis Medeiros <formadordinis@gmail.com>
Co-authored-by: Merve Kartal <mervekartal@Tolgas-Mac-mini.local>
Co-authored-by: JPSchellenberg <jps@Lumi.education>
Co-authored-by: Rıdvan Altun <ridvanaltun@outlook.com>
Co-authored-by: Bohumil Havel <bohumil.havel@pdcon.cz>
Co-authored-by: Sebastian Rettig <sr258@users.noreply.github.com>
Co-authored-by: Xtractor Interactive AB <39831093+xtractorab@users.noreply.github.com>
Co-authored-by: Puhek <52817795+miropuhek@users.noreply.github.com>
Co-authored-by: viragom <67712564+viragom@users.noreply.github.com>
Co-authored-by: 徐征 <xuz@szlhxx.com>
Co-authored-by: Jeonghun Oh <totoromaum1@gmail.com>
Co-authored-by: Hannaes <hanna.solstad@joubel.com>
Co-authored-by: Sara Arjona <sara@moodle.com>
Co-authored-by: Frode Petterson <frode.petterson@joubel.com>
Co-authored-by: Erik Langhaug <erik.langhaug@joubel.com>
Co-authored-by: Ravi Majithia <ravikiran.majithia@joubel.com>
Co-authored-by: Jari <53904029+Urpokarhu1@users.noreply.github.com>
Co-authored-by: Sam Xu <sam.z.xu@gmail.com>
Co-authored-by: Sebastian Rettig <serettig@posteo.de>
Co-authored-by: Oliver Tacke <o.tacke@posteo.de>
Co-authored-by: j0kerZ <joker.wartune1527@gmail.com>
Co-authored-by: Ravi Majithia <77275193+ravimajithia@users.noreply.github.com>
Co-authored-by: Tor-Martin Karlsen <38659798+tmkarlsen@users.noreply.github.com>
Co-authored-by: Sindre Bøyum <boyum@users.noreply.github.com>
Co-authored-by: Meirza <115134930+meirzamoodle@users.noreply.github.com>
Co-authored-by: Antonio Aneiros <77668828+antonioaneiros@users.noreply.github.com>
Co-authored-by: Carlo Tacchella <tacchella.carlo@gmail.com>
Co-authored-by: Ace Suares <ace@suares.com>
Co-authored-by: Erik Langhaug <erik.langhaug@h5p.group>
Co-authored-by: Gwenillia <55385809+Gwenillia@users.noreply.github.com>
Co-authored-by: devland <adevland@gmail.com>
Co-authored-by: devland <5208532+devland@users.noreply.github.com>
Co-authored-by: William Almnes <william.almnes@gmail.com>
Co-authored-by: William Almnes <william.almnes@h5p.group>
Co-authored-by: Gwen Tripet-Costet <gwenden31@gmail.com>
Co-authored-by: Damyon Wiese <111934118+echo360-damyon@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

None yet

2 participants