Skip to content

Add content copyright field (#1312)#1323

Open
iann460 wants to merge 7 commits intomainfrom
1306-cms-app-add-content-copyright-field
Open

Add content copyright field (#1312)#1323
iann460 wants to merge 7 commits intomainfrom
1306-cms-app-add-content-copyright-field

Conversation

@iann460
Copy link
Collaborator

@iann460 iann460 commented Feb 5, 2026

@iann460 iann460 linked an issue Feb 5, 2026 that may be closed by this pull request
@iann460 iann460 changed the title Reduce the padding at the top (#1312) Add content copyright field (#1312) Feb 5, 2026
@iann460 iann460 changed the title Add content copyright field (#1312) Reduce the padding at the top (#1312) Feb 5, 2026
@iann460 iann460 changed the title Reduce the padding at the top (#1312) Add content copyright field (#1312) Feb 5, 2026
Copy link
Collaborator

@MrDirkelz MrDirkelz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would LDropdown have had to been changed?

v-if="(content as any).copyright"
class="text-center text-xs text-zinc-500 dark:text-slate-300"
>
{{ (content as any).copyright }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should only in very exeptional cases cast a variable as "any" as this bypasses type checking and can cause runtime errors.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes should not be part of this ticket, as it is not solving the issue described by the ticket. Other fixes should be submitted as separate tickets.

name="copyright"
:disabled="disabled"
inputType="textarea"
placeholder="© 2024 My Company"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove the placeholder.

:disabled="disabled"
inputType="textarea"
placeholder="© 2024 My Company"
v-model="(content as any).copyright"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above comment on casting as "any"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMS & APP: Add content copyright field

4 participants