Topic on Talk:Parsoid

Code block not visible with VisualEditor when using https

5
Summary by Arlolra

User disappeared

SpaetzleBinLinsen (talkcontribs)

Hi

I followed the hints found in "Extension:VisualEditor#Parsoid over HTTPS". It works pretty well. The only problem I'm confronted with is that after inserting a code block element only "<>" is shown when done. If I save the document and reopen it for editing nothing of the code blocks can be seen. I need to use the source code editor then.

Does anybody hav a hint whats wrong here and how to solve the issue?

Regards

Bernd

Whatamidoing (WMF) (talkcontribs)

I don't really know. But, there was another recent thread that had some odd behaviors, which were resolved by turning on "selective serialization" with RESTbase. Does that sound like it might be relevant?

SpaetzleBinLinsen (talkcontribs)

This sounds more as there is a problem, that some spaces are deleted.

I do not loose the code blocks they are just not shown when opening the wiki page with the VisualEditor. If I use source code editing anything is as it should be.

But I would give it a try. Can somebody explain how the "selective serialization" is turned on?

BTW. My Setup ist mediawiki 1.31-alpha, parsoid 0.9

SSastry (WMF) (talkcontribs)

This is the visual editor, so obviously, you won't see markup but the rendering of markup. If you want to see and edit markup, you have to use source code editing. So, can you be a bit more specific about the problem with "code blocks"? 1. What is the code block you insert in VE? 2. What is the code that you see in wikitext editor?

Arlolra (talkcontribs)

This doesn't sound a like an issue that requires selective serialization to resolve. That only comes into play when saving a page.

Can you clarify what you mean by a code block element?