wintercms / wn-pages-plugin

Static Pages plugin for Winter CMS
https://wintercms.com/
MIT License
9 stars 21 forks source link

Unable to insert link in richeditor #40

Closed bachvtuan closed 1 year ago

bachvtuan commented 1 year ago

Description:

Unable to insert link to selected text

Steps To Reproduce:

  1. Select any static page( The select page must define richeditor varriable)
  2. Input texts to the richtexteditor
  3. First try is succesfull
  4. Second time or later are unable to input thel ink because the input link modal is closed immediately.

Attached the screencast:

https://github.com/wintercms/wn-pages-plugin/assets/2065400/bd36f065-9db9-4564-b907-5c07951eb651

LukeTowers commented 1 year ago

Duplicate of #35, fixed by https://github.com/wintercms/winter/commit/23ba829f19e6062932f61efb390e36c91b8bc497. Will try to release 1.2.4 of Winter soon, but in the meantime you can switch to dev-develop in your composer.json

AIC-BV commented 12 months ago

@bachvtuan is this fixed for you?

image

Not working for me

bachvtuan commented 12 months ago

@AIC-BV I haven't tried that. I'm still waiting for the next WinterCMS release. Meanwhile, I copied 2 js files from this commit https://github.com/wintercms/winter/commit/23ba829f19e6062932f61efb390e36c91b8bc497 and it works

AIC-BV commented 12 months ago

Oh I see it, I don't use richeditor, I have multilingual richeditor which probably has the same issue, thx for the reply!

hmm has nothing to do with it :/