Skip to content
This repository was archived by the owner on Sep 19, 2020. It is now read-only.
This repository was archived by the owner on Sep 19, 2020. It is now read-only.

When pasting multiple lines into the rules editor they are joined together in a single line #64

@Taichocre006

Description

@Taichocre006

Prerequisites

  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • This is not a support issue or a question
    • Support issues and questions are handled at /r/uMatrix
  • I tried to reproduce the issue when...
    • uMatrix is the only extension
    • uMatrix with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uMatrix
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

When pasting multiple lines into the rules editor they are joined together in a single line. This makes it a pain to manage the ruleset. I keep a lot of temporary rules on text files and paste them/load the website/revert when required. It worked properly before the new editor component was added. Tested copying from various text editors, with both line termination standards (Windows and Unix).

Steps to Reproduce

  1. Open the rules editor.
  2. Click on the last line.
  3. Press enter.
  4. Paste
    google.com * block
    yahoo.com * block
  5. Instead of adding two lines, the following line will be added:
    google.com * block* yahoo.com * block

Your environment

  • uMatrix version: 1.3.14
  • Browser Name and version: FF ESR 60.2.0
  • Operating System and version: Win 7, 64 bits

Metadata

Metadata

Assignees

No one assigned

    Labels

    Firefoxspecific to FirefoxbugSomething isn't workingfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions