agima
Forum Replies Created
-
Forum: Plugins
In reply to: [Code Snippet DM] No line breaks@necroob
I saw your screen recording, and I saw that it works in your environment with the OceanWP theme.The problem is always the same for me, whether I copy/paste from Google Colab, or copy/paste from Visual Studio Code, or manually type the python code into the snippet.
So, I think it’s another plugin on my WordPress that is messing up the display since it works on your test environment with my theme.
I’ll investigate to try to find out, as you already spent a lot of time trying to solve my problem which is not from your plugin.
A big thank you to you for your investment and your reactivity to try to find a solution.`
Have a nice day
Forum: Plugins
In reply to: [Code Snippet DM] No line breaks@necroob
I modified an existing article in order to use your plugin for code examples.You will see that the two blocks with the python code are a problem (no line breaks and no syntax coloring)
https://coursemetry.com/get-stock-exchange-quotations-with-python/
Let me know if you want me to make some changes in order to solve the problem.
Thanks
Regards,
Laurent
Forum: Plugins
In reply to: [Code Snippet DM] No line breaks@necroob
<pre>is here if you are looking in the block code<!-- wp:dm-code-snippet/code-snippet-block-dm {"content":"for i in range(1,10): \n print(i)","lineNumbers":true,"language":"python"} --> <div class="dm-code-snippet dark dm-normal-version default no-background-mobile" snippet-height="" style="background-color:#abb8c3"><div class="control-language"><div class="dm-buttons"><div class="dm-buttons-left"><div class="dm-button-snippet red-button"></div><div class="dm-button-snippet orange-button"></div><div class="dm-button-snippet green-button"></div></div><div class="dm-buttons-right"><a id="dm-copy-raw-code"><span class="dm-copy-text">Copy Code</span><span class="dm-copy-confirmed" style="display:none">Copied</span><span class="dm-error-message" style="display:none">Use a different Browser</span></a></div></div><pre class=" line-numbers"><code id="dm-code-raw" class=" no-wrap language-python">for i in range(1,10): print(i)</code></pre></div></div> <!-- /wp:dm-code-snippet/code-snippet-block-dm -->Forum: Plugins
In reply to: [Code Snippet DM] No line breaksI don’t know which editor I’m using (I think this is Gutenberg but I’m not sure), but it is sure that I do not enter the shortcode manually. I selected it from a list with all blocks in my WP environment.
I think it’s more of a CSS conflict issue with my OceanWP theme that I mentioned in my first post.
Is it possible to add the CSS of the plugin in the Additional CSS class(es) section of the block?
I will not change my theme for a plugin, it is too much of work.
Forum: Plugins
In reply to: [Code Snippet DM] No line breaks- I add a Code Snippet DM block in a page
- I then add the following example of Python code:
for i in range(1, 10): print(i)- I check the option to have the line numbers
- I select “Python” as language
- I update the page and ask for a preview in a new tab
Screen capture in page preview
Below the shortcode of the block in the page:
<!-- wp:dm-code-snippet/code-snippet-block-dm {"content":"for i in range(1,10): \n print(i)","lineNumbers":true,"language":"python"} --> <div class="dm-code-snippet dark dm-normal-version default no-background-mobile" snippet-height="" style="background-color:#abb8c3"><div class="control-language"><div class="dm-buttons"><div class="dm-buttons-left"><div class="dm-button-snippet red-button"></div><div class="dm-button-snippet orange-button"></div><div class="dm-button-snippet green-button"></div></div><div class="dm-buttons-right"><a id="dm-copy-raw-code"><span class="dm-copy-text">Copy Code</span><span class="dm-copy-confirmed" style="display:none">Copied</span><span class="dm-error-message" style="display:none">Use a different Browser</span></a></div></div><pre class=" line-numbers"><code id="dm-code-raw" class=" no-wrap language-python">for i in range(1,10): print(i)</code></pre></div></div> <!-- /wp:dm-code-snippet/code-snippet-block-dm -->Forum: Plugins
In reply to: [Code Snippet DM] No line breaksPb is the same, with or without comment in the Python code.
It si also the same without pasting code from another editor.
Using Ctrl + T to Auto Format, change entered code !!??
Forum: Plugins
In reply to: [CHP Ads Block Detector] Update from version 3.6 to 3.7.2 crashed my siteHi @sureshchand12a,
I just updated from 3.7.2 to 3.7.3 and reactivated the plugin and it works now.
You can close the ticket.
Thanks and have a nice day.
Ok, thanks for your reply.
Hi @wpsmort
Thanks for your replyForum: Plugins
In reply to: [AdRotate Banner Manager] Orphaned tables after uninstalling the pluginAh ok, so I think that my problem is prior to the correction of the bug.
Everything is ok now, thanks again.
Forum: Plugins
In reply to: [AdRotate Banner Manager] Orphaned tables after uninstalling the pluginAdRotate was removed since a long time.
Sorry, but I can’t go very far back in my log with my host.
Thanks for your answer.Forum: Plugins
In reply to: [LiteSpeed Cache] The lsphp process consumes a lot of resourcesOk, thanks for your reply.
Forum: Plugins
In reply to: [LiteSpeed Cache] Orphaned tables after uninstalling the pluginOk, thanks for your reply.
Forum: Plugins
In reply to: [LiteSpeed Cache] Orphaned tables after uninstalling the pluginif you have done image optm , suggest to restore the original images first and then delete them
Even if the plugin is already uninstalled?
Ok, thanks for your reply