d6ae2fe437
introduce new block attribute to control sorting direction ( #25 ) ( #27 )
continuous-integration/drone/push Build is passing
2025-03-03 18:59:08 +01:00
Mahammed Zishan Khan
b7c236376b
fix: cast string to Number when setting attribute ( #21 )
...
Co-authored-by: zishan <zishan.khan@roularta.be>
2022-02-01 18:23:37 +01:00
5c4b1eaf60
select first available ticker for new blocks
2020-01-13 17:28:19 +01:00
dba37eb64b
remove undefined className attribute from block rendering
2020-01-13 17:18:52 +01:00
61a3e4a104
adjustments to block output when no tickers are available
...
Always show the first label and display spinner or message below.
2019-11-24 18:09:21 +01:00
dd074293a7
make block script ES5 compatible
...
There are polyfills for methods like apiFetch, so migrate the syntax to
ES5 (no generators, method shorthands, arrow functions, ...) and we are
done here without adding transpilers to the project.
2019-11-24 18:09:21 +01:00
df1de841e8
expose ticker taxonomy to API and add select element to Gutenberg block
...
This is more handy than entering the ticker slug manually.
2019-11-24 18:09:21 +01:00
9ddcc41c6b
implement Gutenberg block to add liveticker without legacy shortcode
...
* implement react-based JS block
* refactor shortcode and widget to use the same syntax and classes
2019-11-24 18:09:21 +01:00