Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: WYSIWYG - misses last entry

IBS free asked 4 years ago


Scenario 1: *Expected behavior* - In the wysiwyg editor, I type 10 characters - I click a save-btn, and read the textarea content in my code-behind - The text area shows 10 characters (in the code behind) Actual behavior - The text area shows 9 characters (in the code behind)

Scenario 2 *Expected behavior* - The wysiwyg editor contains 10 lines of text - I select one line and delete it (using the delete btn on my keyboard) - I select another line and delete it (using the delete btn on my keyboard) - I click a save-btn, and read the textarea content in my code-behind - The text area shows 8 lines of text (in the code behind) Actual behavior - The text area shows 9 lines of text (in the code behind)

Resources (screenshots, code snippets etc.) The text area control:

Including this on the bottom of the aspx page:

$("#_tbEmailHtml").mdbWYSIWYG({});

IBS free commented 4 years ago

Scripts included on the bottom of the page: /js/jquery-3.4.1.min.js /js/popper.min.js /js/bootstrap.min.js /js/mdb.min.js /js/wysiwyg.js


Krzysztof Wilk staff commented 4 years ago

Hi!

Could you make a snippet with your code using our online editor? You can find it here: https://mdbootstrap.com/snippets/. It'll be very helpful :)

Best regards



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags