Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Add text foreground and background color options to WYSIWYG editor. (#11237)

Matthew Kennedy9204ab3258f5
diff --git a/backend/app/assets/javascripts/spree/backend/global/tinymce.es6 b/backend/app/assets/javascripts/spree/backend/global/tinymce.es6
index 0e3cbf2337..231d18711d 100644
--- a/backend/app/assets/javascripts/spree/backend/global/tinymce.es6
+++ b/backend/app/assets/javascripts/spree/backend/global/tinymce.es6
@@ -6,6 +6,6 @@ document.addEventListener('DOMContentLoaded', function() {
'image table paste code link table'
],
menubar: false,
- toolbar: 'undo redo | styleselect | bold italic link | alignleft aligncenter alignright alignjustify | table | bullist numlist outdent indent | code '
+ toolbar: 'undo redo | styleselect | bold italic link forecolor backcolor | alignleft aligncenter alignright alignjustify | table | bullist numlist outdent indent | code '
});
})