mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-07 09:23:00 +02:00
#584 - Ignore type field in content-type validation
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
|
||||
### ⚡️ Optimizations
|
||||
|
||||
- [#584](https://github.com/estruyf/vscode-front-matter/issues/584): - Ignore type field in content-type validation
|
||||
|
||||
### 🐞 Fixes
|
||||
|
||||
- [#564](https://github.com/estruyf/vscode-front-matter/issues/564): Fix to only pass strings to the taxonomy dashboard
|
||||
|
||||
@@ -12,7 +12,7 @@ export interface IContentTypeValidatorProps {
|
||||
metadata: IMetadata;
|
||||
}
|
||||
|
||||
const fieldsToIgnore = [`filePath`, `articleDetails`, `slug`, `keywords`];
|
||||
const fieldsToIgnore = [`filePath`, `articleDetails`, `slug`, `keywords`, `type`];
|
||||
|
||||
export const ContentTypeValidator: React.FunctionComponent<IContentTypeValidatorProps> = ({
|
||||
fields,
|
||||
|
||||
@@ -291,7 +291,7 @@ button {
|
||||
.metadata_field__label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
/* justify-content: space-between; */
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
div {
|
||||
|
||||
Reference in New Issue
Block a user