Comments (10)
I fixed it partly with tinymce-angular v5.0.3 by setting the skin_url of the editor and copying the files in the assets folder.
So my markup looks like this:
<editor class="u-spacer--small" id="answerEditor" [init]="{skin_url: 'assets/skins/ui/oxide'}" .
Now I still get this error because the silver theme still wants to load the 'skins/content/default/content.css' file ...
Try to put the content like this:
content_css: assets/skins/ui/oxide/content.min.css
I'm creating a library, so I'll need to document that the developer will need to navigate inside my node_modules, copy the skin and paste inside his public folder. That's not good but unfortunately I guess that's the only option.
from tinymce-angular.
from tinymce-angular.
I fixed it partly with tinymce-angular v5.0.3 by setting the skin_url of the editor and copying the files in the assets folder.
So my markup looks like this:
<editor class="u-spacer--small" id="answerEditor" [init]="{skin_url: 'assets/skins/ui/oxide'}" .
Now I still get this error because the silver theme still wants to load the 'skins/content/default/content.css' file ...
from tinymce-angular.
How are you loading the skin, using the skin_url
property in the config?
from tinymce-angular.
Closing due to inactivity.
from tinymce-angular.
Exact same issue here, I defined skins in angular cli config under styles, same as for example plugins (but plugins are in scripts)...
from tinymce-angular.
Same issue here. Only defining the skin in the "tinymce.init" method through "skin_url".
All other css is loading just fine.
from tinymce-angular.
So whats the conclusion? Any solutions here?
from tinymce-angular.
I'm facing this issue too.
I'm using React.. so I'm importing the css file inside my component because if I pass the skin_url inside the init object, it will not work. Btw, even if I import the css it still shows the 404 error to the css files, but the style works.
from tinymce-angular.
If you use the following syntax, the copying is executed automatically:
{ "glob": "**/*", "input": "node_modules/tinymce", "output": "/tinymce/" }
You can find more info at the following link:
https://angular.io/guide/workspace-config#assets-configuration
from tinymce-angular.
Related Issues (20)
- [disabled]="true" not working with angular v15. HOT 6
- Inline TinyMCE toolbar is 1 pixel too small in width, forcing itself to create another toolbar row for no reason HOT 2
- Angular 15, Ionic 6, capacitor 4 iOS app, TinyMCE editor referrer header missing issue for review
- Angular 15, Ionic 6, capacitor 4 iOS app, TinyMCE editor referrer header missing issue for review
- Angular 15, Ionic 6, capacitor 4 iOS app, TinyMCE editor referrer header missing issue for review
- Angular 15, Ionic 6, capacitor 4 iOS app, TinyMCE editor referrer header missing issue for review HOT 1
- Getting ESMA Script issue in angular HOT 2
- Update TinyMce HOT 2
- How do I add a custom button to the toolbar? HOT 2
- NS_ERROR_UNEXPECTED on Firefox browser after saving the editor content. HOT 1
- OnChange and onFocusOut event HOT 1
- @tinymce/tinymce-angular V7.0.0 has abnormal behavior with external scrollbar when pressing Enter. HOT 2
- Angular does not detect changes with events from the `<editor>` component HOT 5
- Set max character limit without including internal format HOT 2
- βFormatβ menu not working in Safari HOT 5
- Angular - declare tinymce init error HOT 2
- UI issue when insert new link HOT 2
- Need Support for Angular v15 / v16 / v17 HOT 4
- 'Editors with duplicate Id will not be able to mount' warning given when setting id on editor component HOT 1
- Cross-Site Scripting in tinymce 7 fix HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinymce-angular.