Illia Sakovich
Illia Sakovich
Here is the refactored version of the `getFirstAuthCode()` method: ``` protected function getFirstAuthCode(): string { $curl = curl_init(); curl_setopt($curl, CURLOPT_HEADER, true); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_URL, 'https://www.bitrix24.net/auth/');...
Is there anything that prevents this PR from being merged? 👀 It fixes the issue I have in the app I'm working on.
You can use polyfill for ResizeObserver. For example, from https://polyfill.io
For now I've used a workaround (updated `'0'` to `str('0')`) to preserve falsy attributes, but I'd still be happy to see this PR being merged.
Workaround is to use `:force-fallback="true"` (source: https://github.com/SortableJS/sortablejs/issues/1571#issuecomment-566734677).
This issue is gone in the latest version of SortableJS.
I'm seeing this issue as well. ``` > (new \Tiptap\Editor(['content' => 'List:bulletone']))->getJSON() = "{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"List:"}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"paragraph","content":[{"type":"text","text":"bullet"}]},{"type":"orderedList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"one"}]}]}]}]}]}]}]}" > (new \Tiptap\Editor(['content' => 'List:bulletone']))->getHTML() = "List:bulletone" ``` Note how `bullet` becomes `bullet`.
Similarly to @Coding-Kiwi, I've also noticed this issue while trying to migrate from HTML to JSON TipTap doc.
@timoisik if you can take a look at this issue when you have time, it would be great.