taqueci / redmine_wysiwyg_editor

Redmine WYSIWYG Editor plugin
GNU General Public License v2.0
114 stars 27 forks source link

Empty description issue on iOS #145

Closed taqueci closed 2 years ago

taqueci commented 2 years ago

The issue #141 has not been resolved yet.

We experienced a bug for iOS (iPhone) When we update an issue or a project from a mobile phone (case of textil mode activated) the field description will be deleted Because the function _changeMode is called in init_instance_callback Since the function _changeMode fire the event blur that call _setTextContent In this case self._editor.getContent() is empty

taqueci commented 2 years ago

The issue is no longer found in my environment with iPhones:

Environment:
  Redmine version                4.2.4.stable
  Ruby version                   2.7.5-p203 (2021-11-24) [x86_64-linux]
  Rails version                  5.2.6.2
  Environment                    production
  Database adapter               PostgreSQL
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Subversion                     1.14.1
  Mercurial                      5.6.1
  Bazaar                         3.1.0
  Git                            2.30.2
  Filesystem                     
Redmine plugins:
  redmine_wysiwyg_editor         0.25.0
taqueci commented 2 years ago

Hi @mathieu-mbru and @nanego

I can not reproduce the issue with the latest version 0.25.0. Can you please your Redmine environment, your iPhone information and steps to reproduce the issue?

nanego commented 2 years ago

Hi @taqueci I have just tested without any other plugin and the problem did not appear. It must come from a conflict with one of our plugins. I will identify which one and fix it. Thank you for your help.

mathieu-mbru commented 2 years ago

Hello I still have the problem

Iphone image

taqueci commented 2 years ago

Hi @mathieu-mbru

Thank you for your explanation. I understand.

The issue has been resolved by pull request #148. (However, the issue still remains with Android.)