nova-slug-field
nova-slug-field copied to clipboard
when i enter "ü" slug generate me "ue", when i enter "ə" slug generate me "-". please fix it
Currently I'm generating the slug via Java Script. I'm using this https://www.npmjs.com/package/speakingurl library for the slug generation. You can pass the options via ->slugifyOptions(['key' => 'value']). Maybe there simply has to be set a specific option?
What is your expected result when you enter "ə"?
ə -> e
Other package for slug working correctly. You can find it on novapackages.com
Hi
I know this is an old thread, but recently I got an apostrophe issue so found this thread and also got the solution.
->slugifyOptions( ['custom' => ['&' => 'doo']] )
As per official doc
slug = getSlug('Foo & Bar * Baz', { custom: { '&': ' doo ' }, uric:true }); console.log(slug); // Output: foo-doo-bar-baz