Gennadij

Results 25 comments of Gennadij

Hi, you can just override the files @CraueFormFlow/FormFlow/buttons.html.twig with your own rules

Ok debugged it, and found where is problem. https://github.com/samclarke/SCEditor/blob/8c50e0b70a13f643ecde19ae55a716bbde9f8228/src/formats/bbcode.js#L2488 Is it possible to add a variable, that give us a chance to ignore that check? `allowedTagStyles` false by default for...

Also it looks, like this check not need at all: https://github.com/samclarke/SCEditor/blob/8c50e0b70a13f643ecde19ae55a716bbde9f8228/src/formats/bbcode.js#L2488 this check does it job and prevents to add `[left]` : https://github.com/samclarke/SCEditor/blob/8c50e0b70a13f643ecde19ae55a716bbde9f8228/src/formats/bbcode.js#L2379 Sorry if i'm wrong :)

Thank for the idea, I replaced it via span.

> I also have a problem clicking on the white part of the text. You can only edit for a click in top It might be helpful for those who...

Oh I see it works when I go back to wysiwyg mode, it converts to a new type list.

I tried to dig into it. And found that there: https://github.com/symfony/routing/blob/5.4/Matcher/Dumper/CompiledUrlMatcherTrait.php#L133 in regexpList we got that symfony somewhere modified `[a-z0-9]+(-?[a-z0-9]+)*` => `[a-z0-9]+(?:-?[a-z0-9]+)*`. When the "correct" regex Symfony doesn't touch. But...

@maxbeckers hm... I also dug there, as it seems to me, an already modified regular expression will get there. The `$tokens` store the already modified regex. **Updated:** https://github.com/symfony/routing/blob/5.4/RouteCompiler.php#L326 here is...

Well I split the compiled regex pattern into https://regex101.com/r/GXPs1f/1 (`/locations/(?|([a-z0-9]+(-?[a-z0-9]+)*)/buildings|([a-z0-9]+(-?[a-z0-9]+)*))`) And as you can see, if we pass more than 17 characters, it crashes in "Catastrophic backtracking", but php `preg_match`...

@maxbeckers I fine with correct one - `[a-z0-9]+(?:-[a-z0-9]+)*`. Thanks :) I just want to point out potential problems when symfony creates a regex pattern. If I knew it wrapped everything...