JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums General Discussions Smart.Editor: Markdown getRangeAt exception. Firefox 115.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #109104
    Catdoken
    Participant

    We are seeing an error in Smart Editor after upgrading Firefox to version 115 on Linux:

    Uncaught DOMException: Selection.getRangeAt: 0 is out of range

    This is easily reproducible in the markdown examples you have on your website:

    The above does not appear to occur in Chrome.

    Disabling markdown mode is one way to avoid the error, but that is not an option for us. In our case the error causes features using the editor to no longer function.

    Is it possible to provide some support on what might be the cause? We have purchased SmartHTML so if needed we can submit a bug.

    Thanks!

    • This topic was modified 1 year ago by Catdoken.
    • This topic was modified 1 year ago by Catdoken.
    • This topic was modified 1 year ago by Catdoken.
    #109108

    Hi,

    Thank you for reporting the problem.
    I have opened an issue for it.

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

    #109109
    Catdoken
    Participant

    Thanks, sounds good.

    As a temporary workaround calling selectAll() on the editor after creating it seems to avoid the error.

    #109116

    Hi,

    Thank you for the update!
    If you have any additional questions, do not hesitate to contact us!

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.