How do I use the typings react-quill from a TypeScript app?

This may be my own error but with the onChange handler property I would like to use the types for delta, source, editor on the parameters, but I cannot seem to import those types. Or I don't know how.
Ticket due diligence

[ x] I have verified that the issue persists under ReactQuill v2.0.0-beta.2
[ ] I can't use the beta version for other reasons

ReactQuill version

[ ] master
[x ] v2.0.0-beta.2
[ ] v2.0.0-beta.1
[ ] 1.3.5
[ ] 1.3.4 or older
[ ] Other (fork)

Here is a workaround I have for Delta.
import React, { useState } from "react";
import ReactQuill from "react-quill";
import { Delta as TypeDelta } from "quill";
import Delta from "quill-delta";
import "react-quill/dist/quill.snow.css";

const delta = (new Delta([
  { insert: "Gandalf", attributes: { bold: true } },
  { insert: " the " },
  { insert: "Grey", attributes: { color: "#ccc" } },
]) as unknown) as TypeDelta;

export default function MyComponent() {
  const [value, setValue] = useState("");

  return <ReactQuill theme="snow" value={delta} onChange={setValue} />;
}

The type from quill-delta is not the same as the type delta required in value. Someone should fix that though, not an error on your end.

This example was a great start but a little incomplete, this was a working example for me:
import React, { useState } from "react";
import ReactQuill from "react-quill";
import { Delta as TypeDelta, Sources } from 'quill';
import Delta from "quill-delta";
import "react-quill/dist/quill.snow.css";

const delta = (new Delta([
  { insert: "Gandalf", attributes: { bold: true } },
  { insert: " the " },
  { insert: "Grey", attributes: { color: "#ccc" } },
]) as unknown) as TypeDelta;

export default function MyComponent() {
  const [value, setValue] = useState(detla);
  const onEditorChange = (value: string, delta: TypeDelta, source: Sources, editor: ReactQuill.UnprivilegedEditor) => {
      setValue(editor.getContents());
  };

  return <ReactQuill theme="snow" value={value} onChange={onEditorChange} />;
}

you may get the result from value.ops if you wish to store quill delta information in your database instead of HTML, which has my preference.


Inspector Label Text Input reversed

Godot Master
Reproduce:
Cntl+D for duplicating the Node.

I have the same problem:

I've got the same issue.
@MatiasVME shows another problem whereby on expanding the text editor, on the first keypress the window disappears but the dark overlay remains.
Requires restart.

Anybody working on this? It's a quiet important issue to solve!

@toger5 I worked on this.

3.1rc appears to have re-introduced this problem.  I'm trying to enter text in a label from within the property section and the text entered is going in reverse order.

You mean 3.1 rc 1, or a specific commit?

9d36ce2

I can't reproduce in 91d3ea0.

It is probably me.  I discovered that if I put the animation player into affect, while trying to also edit the text of the label being animated (rotation and scale) that entering text is reversed.  It appears to be fighting for focus and then not positioning the cursor in the text box in the correct location.


Added NetClientOptions and NetServerOptions to allow for TLS connections

I've introduced Vert.x's NetClientOptions and NetServerOptions to our own ClientOptions and ServerOptions object.
If the user does not want to provide a TLS connection, he can simply assign an empty NetClientOptions/NetServerOptions object.

Hi Nuno,
Looks good. I think instead of having all the tests running with ssl enabled it would be better to, say, have most of the tests not use ssl, but override the createServerOptions() method in a test subclass and just have an existing pub/sub test (for example) running using ssl.
Also, can you sign the CLA?
https://github.com/Tesco/mewbase/blob/master/CONTRIBUTING.MD
https://github.com/Tesco/mewbase/blob/master/CLA.txt
It's a bit of a pain right now as we don't have an automated form, but can you print, sign and scan and email back to me at my Tesco email address? (firstname.lastname at uk.tesco.com)
Cheers

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Nuno Santos seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

hadn't set my github email address to the one in github which is why this warning is showing up, I believe

Can you try adding the email address that you used to sign the CLA to your github account:
"If you have already a GitHub account, please add the email address used for this commit to your account."
And then maybe resubmitting the PR.