Open jpdevries opened 9 years ago
The first language is OK, the second language is OK. The third language will have two Redactor fields, and the fourth language will have three Redactor fields.
you need to add javascript selector to catch the redactor's field(s). that's where the regex in CMP.
@goldsky could you elaborate a bit on what we can do to fix it? We don't have any direct experience with Lingua and I'm not sure where to look for what you just said. If you have any docs or instructions, that would be greatly appreciated.
Hi, This goes to Rich Text TV:s too. There's as many fields as there's languages. When i add language it also adds field.
Content field behaves as Susan described.
https://rtfm.modx.com/extras/revo/lingua#Lingua-Cloning-Patterns If you think it's still unclear, just shout
@goldsky I'm still unclear on what, if anything, we could do on our end to prevent Lingua from duplicating Redactor instances when switching languages
basically, it tries to duplicate the widget's DOM id.
so if redactor parses id:"something"
, then it is the pattern.
how bout this, do you mind to post here the widget's code?
Hey @goldsky. Sorry just saw this. I'll connect over Slack and we'll get you what you need
Which slack group? https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail This email has been sent from a virus-free computer protected by Avast. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
We've had an issue reported by @sottwell about Lingua creating multiple instances of the Redactor content editor when languages are switched.
We were able to reproduce the issue in her dev cloud and noticed that it only seems to happen for German (two editors) and Italian (three editors).