
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@groupdocs/groupdocs.editor.angular.ui-presentation
Advanced tools
Angular document editor's core component of the GroupDocs.Editor.UI library for Presentation.
The GroupDocs.Editor.UI Angular Presentation Document Editor is a powerful front-end component of the GroupDocs.Editor.UI library, tailored specifically for Angular applications. This component empowers developers to seamlessly integrate a comprehensive document editing solution into their web applications, allowing users to open, view, edit, and save Presentation documents in various formats, including PPT, PPTX, PPTM, PPS and more, all within the convenience of their web browser. In this article, we'll walk you through the process of getting started with this essential tool.
To use the editor in your Angular projects, first install the groupdocs.editor.angular.ui-core
and groupdocs.editor.angular.ui-presentation packages with the npm or yarn package managers:
Using npm:
npm i @groupdocs/groupdocs.editor.angular.ui-core
npm i @groupdocs/groupdocs.editor.angular.ui-presentation
Or, with yarn:
yarn add @groupdocs/groupdocs.editor.angular.ui-core
yarn add @groupdocs/groupdocs.editor.angular.ui-presentation
Once the package is installed, you need to integrate it into your Angular application. Here are the necessary steps:
tailwind.config.js fileIn your Angular project, add the following content paths to your tailwind.config.js file:
content: [
"./src/**/*.{html,ts}",
"node_modules/@groupdocs/groupdocs.editor.angular.ui-core/**/**/*.mjs",
"node_modules/@groupdocs/groupdocs.editor.angular.ui-presentation/**/**/*.mjs",
]
This step is crucial to ensure that the Presentation Document Editor operates correctly.
presentationEditorModule to AppModuleIn your Angular AppModule, make sure to import and add the PresentationEditorModule as follows:
PresentationEditorModule.forRoot({rootUrl: environment.apiUrl})
This configuration connects the Presentation Document Editor to your application and provides the necessary settings.
Include a route in your Angular router to navigate to the Presentation. This step is crucial for enabling document editing.
{
path: 'Presentation/:folderName/:page/:pages', component
:
PresentationComponent
}
Now that you've configured the component, you can start using it to edit Word documents. Here's a brief example of how to upload a file and navigate to the PresentationComponent:
upload()
{
if (this.file) {
const observer = {
next: (data: PresentationStorageInfo) => {
if (data) {
this.documentCode = data.documentCode;
this.showLoading = false;
this.allowAccept = true;
}
},
error: (error: any) => {
console.error(error)
},
};
this.wordHttpService.uploadPresentationPost$Json({
body: {
File: this.file,
"LoadOptions.Password": ''
}
}).subscribe(observer);
} else {
alert("Please select a file first");
}
}
goToLink()
:
void {
let url = `presentation/${this.documentCode}`;
window.open(url, '_blank');
}
The code above demonstrates how to upload a file and handle the document editing process within your Angular application. Note: The input parameters correspond to PresentationLoadOptions and PresentationEditOptions.
This component is designed to work seamlessly with various GroupDocs examples and solutions, including the GroupDocs Editor for .NET Spa with GroupDocs document editor.
To learn more about GroupDocs and access additional resources, please visit the following links:
FAQs
Angular document editor's core component of the GroupDocs.Editor.UI library for Presentation.
The npm package @groupdocs/groupdocs.editor.angular.ui-presentation receives a total of 17 weekly downloads. As such, @groupdocs/groupdocs.editor.angular.ui-presentation popularity was classified as not popular.
We found that @groupdocs/groupdocs.editor.angular.ui-presentation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.