Using inline SVG in the wysiwyg/backend cms elementsIntegrate WYSIWYG TinyMCE in Admin Custom Module and Contact Us / CMS PageMagento 1.9.1 WYSIWYG Editor Logs me out of BackendProblems with saving CMS page changes in Magento-1.9.2.1Magento 2 - How I can upload svg image from backend custom module's add/edit page?Add extra wysiwyg block to cms page formMagento 1.9 Stop Removal of Valid Elements in WYSIWYGMagento2 : CMS page images showing in admin but not on front-end (WYSIWYG)How to upload svg iamges in CMS pages in magento 2After 2.3.0 Upgrade Issues with Inline Styles in Product WYSIWYGMagento 2.3 File validation failed when uploading SVG image in CMS

How to change two letters closest to a string and one letter immediately after a string using notepad++

My adviser wants to be the first author

How to write cleanly even if my character uses expletive language?

What is the significance behind "40 days" that often appears in the Bible?

My Graph Theory Students

Could the Saturn V actually have launched astronauts around Venus?

Why doesn't the EU now just force the UK to choose between referendum and no-deal?

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?

Employee lack of ownership

How to read the value of this capacitor?

Is there a data structure that only stores hash codes and not the actual objects?

Why do Australian milk farmers need to protest supermarkets' milk price?

Define, (actually define) the "stability" and "energy" of a compound

Why doesn't using two cd commands in bash script execute the second command?

Sailing the cryptic seas

compactness of a set where am I going wrong

Why would a flight no longer considered airworthy be redirected like this?

Unexpected result from ArcLength

How Could an Airship Be Repaired Mid-Flight

Why does Bach not break the rules here?

Recruiter wants very extensive technical details about all of my previous work

Is it possible to upcast ritual spells?

How can I track script which gives me "command not found" right after the login?



Using inline SVG in the wysiwyg/backend cms elements


Integrate WYSIWYG TinyMCE in Admin Custom Module and Contact Us / CMS PageMagento 1.9.1 WYSIWYG Editor Logs me out of BackendProblems with saving CMS page changes in Magento-1.9.2.1Magento 2 - How I can upload svg image from backend custom module's add/edit page?Add extra wysiwyg block to cms page formMagento 1.9 Stop Removal of Valid Elements in WYSIWYGMagento2 : CMS page images showing in admin but not on front-end (WYSIWYG)How to upload svg iamges in CMS pages in magento 2After 2.3.0 Upgrade Issues with Inline Styles in Product WYSIWYGMagento 2.3 File validation failed when uploading SVG image in CMS













1















How can i get the wysiwyg/backend cms editor to accept inline svg code,
i want to make the svgs stylable which means they need to be injected.



Yes i can inject them via javascript, but this causes more server requests and other issues.
So i would like to give the admin the ability to add svg code via the cms backend, but by default i assume that the wysiwyg purges any unknown tags and any inline svg gets removed on save.










share|improve this question







New contributor




siux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • So i am digging through the docs: devdocs.magento.com/guides/v2.3/ui_comp_guide/components/… but as usual they are not very complete or explicit

    – siux
    15 hours ago















1















How can i get the wysiwyg/backend cms editor to accept inline svg code,
i want to make the svgs stylable which means they need to be injected.



Yes i can inject them via javascript, but this causes more server requests and other issues.
So i would like to give the admin the ability to add svg code via the cms backend, but by default i assume that the wysiwyg purges any unknown tags and any inline svg gets removed on save.










share|improve this question







New contributor




siux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • So i am digging through the docs: devdocs.magento.com/guides/v2.3/ui_comp_guide/components/… but as usual they are not very complete or explicit

    – siux
    15 hours ago













1












1








1








How can i get the wysiwyg/backend cms editor to accept inline svg code,
i want to make the svgs stylable which means they need to be injected.



Yes i can inject them via javascript, but this causes more server requests and other issues.
So i would like to give the admin the ability to add svg code via the cms backend, but by default i assume that the wysiwyg purges any unknown tags and any inline svg gets removed on save.










share|improve this question







New contributor




siux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












How can i get the wysiwyg/backend cms editor to accept inline svg code,
i want to make the svgs stylable which means they need to be injected.



Yes i can inject them via javascript, but this causes more server requests and other issues.
So i would like to give the admin the ability to add svg code via the cms backend, but by default i assume that the wysiwyg purges any unknown tags and any inline svg gets removed on save.







cms wysiwyg svg






share|improve this question







New contributor




siux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




siux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




siux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 15 hours ago









siuxsiux

63




63




New contributor




siux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





siux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






siux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • So i am digging through the docs: devdocs.magento.com/guides/v2.3/ui_comp_guide/components/… but as usual they are not very complete or explicit

    – siux
    15 hours ago

















  • So i am digging through the docs: devdocs.magento.com/guides/v2.3/ui_comp_guide/components/… but as usual they are not very complete or explicit

    – siux
    15 hours ago
















So i am digging through the docs: devdocs.magento.com/guides/v2.3/ui_comp_guide/components/… but as usual they are not very complete or explicit

– siux
15 hours ago





So i am digging through the docs: devdocs.magento.com/guides/v2.3/ui_comp_guide/components/… but as usual they are not very complete or explicit

– siux
15 hours ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






siux is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266085%2fusing-inline-svg-in-the-wysiwyg-backend-cms-elements%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








siux is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















siux is a new contributor. Be nice, and check out our Code of Conduct.












siux is a new contributor. Be nice, and check out our Code of Conduct.











siux is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266085%2fusing-inline-svg-in-the-wysiwyg-backend-cms-elements%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Masuk log Menu navigasi

16 Maret Daftar isi Peristiwa | Kelahiran | Meninggal | Hari raya dan peringatan | Menu navigasis

ジョン・ファウルズ