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

[BUG]: showing elements in richText #153

Open
AlexandraKartashovaFusion opened this issue Mar 22, 2023 · 1 comment
Open

[BUG]: showing elements in richText #153

AlexandraKartashovaFusion opened this issue Mar 22, 2023 · 1 comment
Labels
bug Something isn't working investigate

Comments

@AlexandraKartashovaFusion

Describe the bug
After translate header splitы into 3 lines

Expected behavior
if the title is in one line: then translate it into one line

Screenshots

image

image

System (please complete the following information):

  • OS: windows, macOS
  • Browser chrome
  • "@strapi/strapi": "4.7.0",
  • "strapi-plugin-translate": "1.1.0",
  • "strapi-provider-translate-deepl": "1.1.0"
    Plugin config
    module.exports = {
    translate: {
    enabled: true,
    config: {
    apiKey: process.env('DEEPL_API_KEY'),
    provider: 'deepl',
    providerOptions: {
    apiKey: process.env('DEEPL_API_KEY'),
    apiOptions: {
    formality: 'prefer_less',
    }
    },
    translateRelations: true,
    glossaryId: 'customGlossary',
    },
    },
    };
@layaxx layaxx added the bug Something isn't working label Mar 22, 2023
@layaxx
Copy link
Member

layaxx commented Mar 29, 2023

This is caused by the Markdown -> Html -> Markdown conversion (via showdown).
Looks like it might be similar to this issue: showdownjs/showdown#953
I don't think there is a lot we can do about it though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working investigate
Projects
Development

No branches or pull requests

2 participants