• Resolved EasyNT

    (@easynt)


    Hi there,

    Thanks for your plugin, it’s exactly what I was looking for…however, it seems not working here. I don’t get the “A” symbol you have in your screens. I thought maybe it has something to do with the language settings of my instance. I have ‘de_CH’ (and later ‘fr_CH’ as well). So I added ‘de_CH’, ‘fr_CH’ to the corresponding places in your code (btw: even in the German part of Switzrland, we prefer your French quotes over the ususal ones), but with no luck…still no “A” symbol like on your screens.

    Unfortunately the composer code is almost impossible to debug by hand (or eyes…), so I would appreciate some help where to check what, why it’s not working here. Site is not online yet, btw.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Lo?c Antignac

    (@webaxones)

    Hello,
    Apologies for the delayed response, I hadn’t enabled notifications ??
    The plugins settings can be accessed through the “three dots” options menu, as shown in this image:

    By clicking on the “Consistency settings” menu, the settings will be displayed. You can pin these settings by clicking on the small star visible in this other screenshot:

    This way, the “A” will always be visible and the settings always accessible.

    It’s true that this part of Gutenberg isn’t very clear ^^’

    Thread Starter EasyNT

    (@easynt)

    Salut Lo?c,

    Thanks for your reply. Unfortunately I don’t have the said setting under the three dot menu. Mine only shows the Yost SEO plugin there… How can I find the problem that prevents your plugin to work correctly?

    Plugin Author Lo?c Antignac

    (@webaxones)

    Hi,
    You are not on the site editor (Full Site Editing) but on a page or a post? Because Consistency is deliberately not active on the site editor. Otherwise you can just look in the browser’s inspector console and make me a copy (text or screenshot) of the errors (in red) if there are any.

    Thread Starter EasyNT

    (@easynt)

    Salut, yes I am on a post. I made the update in the meantime to 1.4.5, but still not working. In the console I get:

    SyntaxError: Invalid regular expression: invalid group specifier name in file /consistency/build/index.js, line 522:

    mask: /(?<! |?|&nbsp;)([\?|\!|\:|\?|\€|\$|\£|\¥|\?|\元|\%])/,

    I have the feeling that the problemm is not an invalid regex, but something else that interferes, resulting in this problem. But I’m still puzzled…

    Plugin Author Lo?c Antignac

    (@webaxones)

    Hi,

    Have you cleared your browser’s cache? Clearing the cache for Gutenberg can be particularly tricky. Often, it’s necessary to add the line: define( 'SCRIPT_DEBUG', true ); to the wp-config.php file to force the use of uncompiled JS scripts. You can test this, but avoid using it in a production environment due to performance concerns.

    Alternatively, I have another idea: are you using the Safari browser? Safari (and all non-V8 browsers) have not yet implemented Lookahead and Lookbehind in regex. Since this feature should be implemented within the year for Safari, I decided to wait rather than redesign the entire regex logic.

    If you’re not using Safari, are you using an outdated browser? Can you try testing on other browsers? Lastly, have you attempted to disable browser extensions?

    Thank you for your patience.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin not working / languages’ is closed to new replies.