mirror of
https://github.com/typemill/typemill.git
synced 2025-08-05 21:57:31 +02:00
added post-list in raw editor
This commit is contained in:
@@ -153,7 +153,7 @@ class License
|
||||
$thishost = parse_url($urlinfo['baseurl'], PHP_URL_HOST);
|
||||
$thishost = str_replace("www.", "", $thishost);
|
||||
|
||||
$whitelist = ['localhost', '127.0.0.1', 'typemilltest.', $licensehost];
|
||||
$whitelist = ['localhost', '127.0.0.1', 'typemilltest.', 'try.', $licensehost];
|
||||
|
||||
foreach($whitelist as $domain)
|
||||
{
|
||||
@@ -177,7 +177,7 @@ class License
|
||||
$thishost = preg_replace('/^www\./', '', $thishost);
|
||||
$thishost = $this->extractBaseDomain($thishost);
|
||||
|
||||
$whitelist = ['localhost', '127.0.0.1', 'typemilltest.', $licensehost];
|
||||
$whitelist = ['localhost', '127.0.0.1', 'typemilltest.', 'try.', $licensehost];
|
||||
|
||||
foreach($whitelist as $domain)
|
||||
{
|
||||
|
@@ -7,6 +7,8 @@
|
||||
|
||||
<div id="editor" v-cloak></div>
|
||||
|
||||
<div id="posts"></div>
|
||||
|
||||
<div id="publisher" class="fixed bottom-0 w-54rem bg-stone-100 border-t border-stone-200 shadow-md" v-cloak></div>
|
||||
|
||||
{% endblock %}
|
||||
@@ -19,6 +21,7 @@
|
||||
<script src="{{ base_url() }}/system/typemill/author/js/vue-meta.js?v={{ settings.version }}"></script>
|
||||
<script src="{{ base_url() }}/system/typemill/author/js/vue-forms.js?v={{ settings.version }}"></script>
|
||||
<script src="{{ base_url() }}/system/typemill/author/js/vue-publisher.js?v={{ settings.version }}"></script>
|
||||
<script src="{{ base_url() }}/system/typemill/author/js/vue-posts.js?v={{ settings.version }}"></script>
|
||||
<script>
|
||||
|
||||
raweditor.config.globalProperties.$filters = translatefilter;
|
||||
@@ -29,6 +32,9 @@
|
||||
|
||||
publisher.config.globalProperties.$filters = translatefilter;
|
||||
publisher.mount('#publisher');
|
||||
|
||||
posts.config.globalProperties.$filters = translatefilter;
|
||||
posts.mount('#posts');
|
||||
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user