Php Highlighting doesn’t work—is it only me or?


If there is any aditional info you’ll need lemmeknow
i reinstalled inkdrop no joy

Bug report

when i write this the highlighting won’t show
I’ve only seen this with php

require_once 'vendor/autoload.php';

$elastic = new Elasticsearch\Client([
'hosts' => ['localhost:9200']

Write the description of the issue here.
If you got a problem, please check if you got any error in the console log by selecting the menu: Developer -> Toggle Developer Tools.
^No error’s in the console


  • Platform: Fedora
  • Platform version: (27)
  • App Version: (3.17.4) latest on rpm/zip linux


require_once 'vendor/autoload.php';

$elastic = new Elasticsearch\Client([
'hosts' => ['localhost:9200']

(Takuya Matsuyama) #2

Hi Clasener,

Thank you for reporting it.
This is a known bug of CodeMirror which is an editor component.
I’ve already sent a PR for it and I’m waiting for the patch released.

Thanks again.


Nice thanks for the response
Great app btw i really enjoy it

The PR you linked is merged…
Do you have some more info—later this week i have some free time i can spent on it.

(Takuya Matsuyama) #4

Yeah, it’s been already merged but I have to wait until the author decides to release it on npm for its stability.

(Takuya Matsuyama) #5


This problem should be fixed in v3.18.0.
Thanks for the report!