You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that Gitlab is loading content (README, comments, ...) async and because of this CodeCopy is not able find any <pre> tags.
If anyone has any suggestions on how best to solve this, please tag me.
@katrinleinweber I haven't checked if it is after the load event, it is some form of lazy loading or AJAX calls to show the data. It is not in the initial DOM that CodeCopy currently looks at.
I only looked at it very briefly.
Activity
Glennmen commentedon May 4, 2019
It seems that Gitlab is loading content (README, comments, ...) async and because of this CodeCopy is not able find any
<pre>tags.If anyone has any suggestions on how best to solve this, please tag me.
katrinleinweber commentedon May 4, 2019
Does "async" mean that content is loaded even after the
loadevent?Glennmen commentedon May 4, 2019
@katrinleinweber I haven't checked if it is after the load event, it is some form of lazy loading or AJAX calls to show the data. It is not in the initial DOM that CodeCopy currently looks at.
I only looked at it very briefly.
katrinleinweber commentedon May 4, 2019
Hm :-/ GitLab itself is tracking a few issues that seem related to this one: https://gitlab.com/gitlab-org/gitlab-ce/issues/59812 & https://gitlab.com/gitlab-org/gitlab-ce/issues/43289
Glennmen commentedon May 4, 2019
Would be cool if we can add support for it before they have it ;)