askvortsov1/flarum-categories

Problems with markdown editor @ new version.

Closed this issue · 5 comments

Looks like

"askvortsov/flarum-categories": "^2.1",

breaks

"flarum/markdown": "^0.1.0",

im dancing around with this all day:

error in chrome console:
image

way to reproduce

  1. install clean project: composer create-project flarum/flarum . --stability=beta
  2. composer require askvortsov/flarum-categories --ignore-platform-reqs -W

then get to editor and try to write down smth and try adding some bold or other stuff and its broken

using php 7.3 and mariadb in docker.

Looks like I did fix it
do step 1 and 2

then go to your composer file and revert all changes but (img)

image

and run composer update

it seams to fix it still its hacky variant to do it.

then go to your composer file and revert all changes but (img)

How does it look before reverting changes?

I'm having trouble replicating this locally following the steps you provided.

try adding some bold or other stuff and its broken

Are you trying to do this via the buttons? If so, that's a core issue right now.

image
before reverting changes

it looks like the

"askvortsov/flarum-categories": "^2.1",
replaces
"flarum/core": "^0.1.0",

@line 1 mybe that is some composer problem!

and rewerting just sets core back and its all good

just run composer update before adding extension that will do the trick.