fix: Users not mentionable when not in seamless editing mode
This commit is contained in:
@@ -7,6 +7,14 @@ describe("#parseDocumentSlug", () => {
|
||||
).toEqual("my-doc-y4j4tR4UuV");
|
||||
});
|
||||
|
||||
it("should work with paths after document slug", () => {
|
||||
expect(
|
||||
parseDocumentSlug(
|
||||
"http://mywiki.getoutline.com/doc/my-doc-y4j4tR4UuV/edit"
|
||||
)
|
||||
).toEqual("my-doc-y4j4tR4UuV");
|
||||
});
|
||||
|
||||
it("should work with subdomain qualified url", () => {
|
||||
expect(
|
||||
parseDocumentSlug("http://mywiki.getoutline.com/doc/my-doc-y4j4tR4UuV")
|
||||
|
||||
Reference in New Issue
Block a user