feat: import and export element (E6)
- golem15-seo-transfer: export by dataset with a Blob download, the import file read in the browser and refused over 60 KB, the preview table (refused first, 200 rows, scrolling wrapper), Apply gated on refused and empty previews, a stale preview kept with the message - en and pl copy; assets/dist rebuilt
This commit is contained in:
@@ -5,6 +5,7 @@ import { ROBOTSTESTER_TAG, SeoRobotsTesterElement } from './robotstester'
|
||||
import { ROBOTSTXT_TAG, SeoRobotsTxtElement } from './robotstxt'
|
||||
import { SERP_TAG, SeoSerpElement } from './serp'
|
||||
import { SeoTextElement, TEXT_TAG } from './text'
|
||||
import { SeoTransferElement, TRANSFER_TAG } from './transfer'
|
||||
|
||||
// The admin SPA loads this script once on every admin page (the SEO field
|
||||
// types list it in Scripts); defining a tag twice would throw, so a second
|
||||
@@ -16,6 +17,7 @@ const elements: Array<[string, CustomElementConstructor]> = [
|
||||
[IMAGE_TAG, SeoImageElement],
|
||||
[ROBOTSTXT_TAG, SeoRobotsTxtElement],
|
||||
[ROBOTSTESTER_TAG, SeoRobotsTesterElement],
|
||||
[TRANSFER_TAG, SeoTransferElement],
|
||||
]
|
||||
for (const [tag, ctor] of elements) {
|
||||
if (!customElements.get(tag)) {
|
||||
@@ -35,5 +37,7 @@ export {
|
||||
SeoRobotsTxtElement,
|
||||
SeoSerpElement,
|
||||
SeoTextElement,
|
||||
SeoTransferElement,
|
||||
TEXT_TAG,
|
||||
TRANSFER_TAG,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user