1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-25 00:02:28 +02:00

v2.14.2 dispatch metadefinitions on update

This commit is contained in:
trendschau
2025-02-18 21:29:45 +01:00
parent f9f205aa12
commit 54b40b7c78
4 changed files with 5 additions and 17 deletions

2
cache/timer.yaml vendored
View File

@@ -1 +1 @@
licenseupdate: 1739760847
licenseupdate: 1739826278

View File

@@ -34,18 +34,3 @@ promptlist:
content: 'Apply the tone to the article.'
active: true
system: true
test:
name: test
content: asfasdfda
active: true
system: false
testing:
name: testing
content: asdfasdf
active: true
system: false
fertret:
name: fertret
content: adasdf
active: true
system: false

View File

@@ -171,6 +171,9 @@ class ControllerApiAuthorMeta extends Controller
$metadefinitions = $meta->getMetaDefinitions($this->settings, $folder = false);
}
# update metadefinitions from plugins.
$metadefinitions = $this->c->get('dispatcher')->dispatch(new OnMetaDefinitionsLoaded($metadefinitions),'onMetaDefinitionsLoaded')->getData();
$tabdefinitions = $metadefinitions[$params['tab']] ?? false;
if(!$tabdefinitions)
{

View File

@@ -1,4 +1,4 @@
version: '2.14.1'
version: '2.14.2'
title: 'Typemill'
author: 'Unknown'
copyright: false