Refactor Writefull toolbar (#28911)

GitOrigin-RevId: 1d8a3addc9046dc67c0cca20d5cf4fba35d132d1
This commit is contained in:
Borja
2025-10-15 08:07:42 +00:00
committed by Copybot
parent a959b53f1c
commit ce38ba6fc1
12 changed files with 82 additions and 43 deletions
+24
View File
@@ -236,6 +236,30 @@ module.exports = {
},
],
},
{
// CSS from writefull module - inject directly into DOM
include: path.resolve(__dirname, 'modules/writefull/'),
use: [
'style-loader',
{
loader: 'css-loader',
options: {
importLoaders: 1,
},
},
{
loader: 'postcss-loader',
options: {
postcssOptions: {
config: path.resolve(
__dirname,
'modules/writefull/frontend/js/integration/postcss.config.js'
),
},
},
},
],
},
{
// Standard CSS processing (extracted into separate file)
use: [MiniCssExtractPlugin.loader, 'css-loader'],