Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Sanitizer plugin appears to be preventing user from typing accented characters on Mac #25

Open
JasonOffutt opened this issue Apr 16, 2018 · 0 comments

Comments

@JasonOffutt
Copy link

Running into an issue where the sanitizer plugin appears to be preventing users from typing accented characters on Mac.

Steps to repro:

  1. Type option + n + n in an instance of scribe editor with the sanitizer plugin enabled.
  2. Observe the output will look something like ˜n.

Expected outcome:

Expected output should be ñ.

Here's a sample of the code we're using to produce this issue.

var sanitizerConfiguration = {
  p: { style: sanitizeStyle, class: sanitizeClass },
  span: { style: sanitizeStyle, class: sanitizeClass }
};

scribe.use(this.requiredFunctions.scribePluginSanitizer({
  tags: sanitizerConfiguration
}));
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant