Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
6d1599a
feat(new-block-editor): add new block editor library with initial con…
rjvelazco Mar 26, 2026
6b9eedc
refactor(Block Editor): update configuration and dependencies and add…
rjvelazco Apr 8, 2026
7e193ef
feat(new-block-editor): add interaction preferences and upload placeh…
rjvelazco Apr 8, 2026
9d014aa
fix(toolbar): change emoji picker trigger from click to mousedown event
rjvelazco Apr 8, 2026
37a8a7e
fix(toolbar): prevent default behavior and close emoji picker if alre…
rjvelazco Apr 8, 2026
3317167
feat: add contentlet node
rjvelazco Apr 9, 2026
a2553f1
refactor(new-block-editor): reorganize component structure and update…
rjvelazco Apr 9, 2026
c01e884
feat(new-block-editor): enhance slash menu functionality with improve…
rjvelazco Apr 9, 2026
77fd1d1
feat(new-block-editor): add dotCMS image and video search functionali…
rjvelazco Apr 9, 2026
0093e51
feat(new-block-editor): integrate PrimeNG DataView for image and vide…
rjvelazco Apr 10, 2026
cc9fe17
Merge branch 'main' into refactor-dotcms-block-editor
rjvelazco Apr 13, 2026
b783bc4
feat(new-block-editor): enhance editor functionality
rjvelazco Apr 13, 2026
363f667
feat(new-block-editor): add text image wrap and image property
rjvelazco Apr 13, 2026
2b72b03
feat(new-block-editor): enhance block editor with new grid functional…
rjvelazco Apr 13, 2026
bc10a12
feat(Block Edito): Grid block, Control Value Accesor, selected style …
rjvelazco Apr 15, 2026
bb9378d
refactor(new-block-editor): consolidate grid functionality into a sin…
rjvelazco Apr 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core-web/.claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
}
}
},
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
},
"enabledPlugins": {
"nx@nx-claude-plugins": true
}
Expand Down
39 changes: 24 additions & 15 deletions core-web/apps/dotcms-block-editor/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@
"tags": ["skip:test", "skip:lint"],
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser-esbuild",
"executor": "@angular/build:application",
"outputs": ["{options.outputPath.base}"],
"options": {
"outputPath": "dist/apps/dotcms-block-editor",
"baseHref": "./",
"outputPath": {
"base": "dist/apps/dotcms-block-editor",
"browser": ""
},
"index": "apps/dotcms-block-editor/src/index.html",
"main": "apps/dotcms-block-editor/src/main.ts",
"polyfills": "apps/dotcms-block-editor/src/polyfills.ts",
"browser": "apps/dotcms-block-editor/src/main.ts",
"polyfills": ["apps/dotcms-block-editor/src/polyfills.ts"],
"tsConfig": "apps/dotcms-block-editor/tsconfig.app.json",
"inlineStyleLanguage": "css",
"assets": [
"apps/dotcms-block-editor/src/favicon.ico",
"apps/dotcms-block-editor/src/assets"
Expand All @@ -33,24 +39,29 @@
"includePaths": ["libs/dotcms-scss/angular"]
},
"allowedCommonJsDependencies": ["lodash.isequal", "date-fns"],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"development": {
"optimization": false,
"sourceMap": true,
"namedChunks": true,
"extractLicenses": false
},
"localhost": {
"sourceMap": true,
"optimization": false,
"watch": true
"optimization": false
},
"tomcat": {
"outputPath": "../../tomcat9/webapps/ROOT/dotcms-block-editor",
"outputPath": {
"base": "../../tomcat9/webapps/ROOT/dotcms-block-editor",
"browser": ""
},
"sourceMap": true,
"optimization": false,
"watch": true
"optimization": false
},
"production": {
"fileReplacements": [
Expand All @@ -64,8 +75,6 @@
"sourceMap": false,
"namedChunks": false,
"extractLicenses": false,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
Expand All @@ -85,7 +94,7 @@
"serve": {
"executor": "@angular/build:dev-server",
"options": {
"buildTarget": "dotcms-block-editor:build"
"buildTarget": "dotcms-block-editor:build:development"
},
"configurations": {
"production": {
Expand Down Expand Up @@ -113,7 +122,7 @@
"main": "apps/dotcms-block-editor/src/test.ts",
"tsConfig": "apps/dotcms-block-editor/tsconfig.spec.json",
"karmaConfig": "apps/dotcms-block-editor/karma.conf.js",
"polyfills": "apps/dotcms-block-editor/src/polyfills.ts",
"polyfills": ["apps/dotcms-block-editor/src/polyfills.ts"],
"styles": [],
"scripts": [],
"assets": []
Expand Down
8 changes: 4 additions & 4 deletions core-web/apps/dotcms-block-editor/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Component } from '@angular/core';
import { EditorComponent } from '@dotcms/new-block-editor';

@Component({
selector: 'dotcms-root',
templateUrl: './app.component.html',
styleUrls: [],
standalone: false
imports: [EditorComponent],
standalone: true
})
export class AppComponent {
title = 'dotcms-block-editor';
}
export class AppComponent {}
31 changes: 31 additions & 0 deletions core-web/apps/dotcms-block-editor/src/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import Lara from '@primeuix/themes/lara';

import { provideHttpClient } from '@angular/common/http';
import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';

import { providePrimeNG } from 'primeng/config';

/**
* PrimeNG is required for components used inside `@dotcms/new-block-editor` (e.g. DataView in
* image/video dotCMS pickers). Theme + cssLayer order must match `apps/dotcms-block-editor/src/styles.css`.
*/
export const appConfig: ApplicationConfig = {
providers: [
provideBrowserGlobalErrorListeners(),
provideHttpClient(),
provideAnimationsAsync(),
providePrimeNG({
theme: {
preset: Lara,
options: {
darkModeSelector: '.dark',
cssLayer: {
name: 'primeng',
order: 'tailwind-base, primeng, tailwind-utilities'
}
}
}
})
]
};
53 changes: 0 additions & 53 deletions core-web/apps/dotcms-block-editor/src/app/app.module.ts

This file was deleted.

7 changes: 6 additions & 1 deletion core-web/apps/dotcms-block-editor/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
<head>
<meta charset="utf-8" />
<title>DotBlockEditor</title>
<base href="/" />
<base href="./" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"
rel="stylesheet" />
</head>
<body>
<dotcms-root></dotcms-root>
Expand Down
9 changes: 4 additions & 5 deletions core-web/apps/dotcms-block-editor/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { bootstrapApplication } from '@angular/platform-browser';

import { AppModule } from './app/app.module';
import { AppComponent } from './app/app.component';
import { appConfig } from './app/app.config';
import { environment } from './environments/environment';

if (environment.production) {
enableProdMode();
}

platformBrowserDynamic()
.bootstrapModule(AppModule)
.catch((err) => console.error(err));
bootstrapApplication(AppComponent, appConfig).catch((err) => console.error(err));
Loading