Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set max width for md editor tooltip, Add untitled key, Add logo alt text to metadata #485

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/metadata-editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ export default class MetadataEditorV extends Vue {
// Generate a new configuration file and populate required fields.
this.configs[this.configLang] = this.configHelper();
const config = this.configs[this.configLang] as StoryRampConfig;
config.introSlide.logo.altText = this.metadata.logoAltText ?? '';

// Set the source of the product logo
if (!this.metadata.logoName) {
Expand Down
5 changes: 5 additions & 0 deletions src/components/text-editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,9 @@ label {
:deep(.v-md-icon-link::before) {
content: '\1F517';
}
:deep(.v-md-editor__tooltip) {
max-width: 90px;
text-wrap: wrap;
overflow-wrap: break-word;
}
</style>
1 change: 1 addition & 0 deletions src/lang/lang.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ key,enValue,enValid,frValue,frValid
chapters.title,Chapters,1,Chapitres,1
chapters.return,Return to top,1,Retournez en haut,1
chapters.menu,Toggle menu,1,Menu à bascule,1
chapters.untitled,Untitled Slide,1,Diapositive sans titre,0
scrollguard.desc,Use ctrl + scroll to zoom the map,1,Utilisez les touches Ctrl et + pour faire un zoom de la carte,1
story.window.title,RAMP Storylines,1,Scénarios de la PCAR,1
story.date,Date modified:,1,Date de modification:,1
Expand Down
Loading