Activities of "zsanhong"

thanks, another question. how to upload file size more than 28M? I can't upload file more than 28M in FileManagement Module

I read the document, but because the tui-editor in abp v4.0 use the version 2.5.3, but the document is for version 3.0.2,and the api is not the same.so I can't add the button as the document. thanks

I tried to update the tui-editor to the latest version, the tui-editor is not work .

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I want to use flowchart in tui.editor, how to write a plugin for mermaid.thanks

thank you, I do ask the same question in tui.editor, but receive no feedback.

  • ABP Framework version: v4.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I want to add a “View" function In CmsKit Page to direct view the content of a Page,So I add index.js in fold pages\CmsKit\Pages like this:

and change the index.js like this:

 {
                            text: l('Edit'),
                            visible: abp.auth.isGranted('CmsKit.Pages.Update'),
                            action: function (data) {
                                location.href = 'Pages/Update/' + data.record.id;
                            }
                        },
                        {
                            text: l('View'),
                            visible: abp.auth.isGranted('CmsKit.Pages.Update'),
                            action: function (data) {

                                location.href = 'Pages/View';
                            }
                        },

and I also add a page name View.cshtml. but when I click the ”View" Button,

show wrong msg : can't fund the page View

please help me, thanks

if I change the index.js like this:

{
                            text: l('View'),
                            visible: abp.auth.isGranted('CmsKit.Pages.Update'),
                            action: function (data) {

                                location.href = 'Pages/ViewModel/' + data.record.id;
                            }
                        },

and I write the ViewModel.cshtml like this:

@page "/Cms/Pages/ViewModel/"

@using ZSHTech.IPMS.Web.Utils
@using Volo.Abp.AspNetCore.Mvc.UI.Packages.HighlightJs
@using  ZSHTech.IPMS.Web.Pages.CmsKit.Pages;
@model ViewModel

@inject IMarkdownToHtmlRenderer MarkdownRenderer
@{
}


<abp-card>
    <abp-card-body>
        @Html.Raw(await MarkdownRenderer.RenderAsync(Model.View.Content))
    </abp-card-body>
</abp-card>

ViewModel.cshtml.cs:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Volo.CmsKit.Pages;
using Volo.CmsKit.Public.Pages;

namespace ZSHTech.IPMS.Web.Pages.CmsKit.Pages
{
    public class ViewModel : IPMSPageModel
    {
        [BindProperty(SupportsGet = true)]
        public Guid Id { get; set; }
        [BindProperty]
       public  PageViewModel View { get; set; }

        protected IPageRepository PageRepository { get; }

        public ViewModel(IPageRepository pageRepository)
        {
            PageRepository = pageRepository;
        }

        public async Task OnGetAsync()
        {
           var Page = await PageRepository.GetAsync(Id);


            View = new PageViewModel { Content = Page.Content, Title = Page.Title };

          
        }
       
    }

    public class PageViewModel
    {
        public Guid Id { get; set; }

        public string Title { get; set; }

        public string Content { get; set; }
    }
}

when I click the View button, I get the same wrong msg:

thank you @EngincanV, now I encounter another question, how to Inject IMarkdownToHtmlRenderer? because When I run it,It show wrong msg:

An unhandled exception occurred while processing the request.
DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'ZSHTech.IPMS.Web.Utils.MarkdownToHtmlRenderer' can be invoked with the available services and parameters:
Cannot resolve parameter 'Markdig.MarkdownPipeline markdownPipeline' of constructor 'Void .ctor(Markdig.MarkdownPipeline)'.
Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable<Parameter> parameters)

DependencyResolutionException: An exception was thrown while activating ZSHTech.IPMS.Web.Pages.CmsKit.Pages.ViewModel -> ZSHTech.IPMS.Web.Utils.MarkdownToHtmlRenderer.
Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action<ResolveRequestContext> next)

I add a method in webModel like this:

 services
                 .AddSingleton(_ => new MarkdownPipelineBuilder()
                     .UseAutoLinks()
                     .UseBootstrap()
                     .UseGridTables()
                     .UsePipeTables()
                     .Build());

and it worked. thank you for your help @EngincanV,

in abp v5.1.3, add a new template with app-nolayers option, but some time I want to use it in abp commercial, please add the option in abp commercial and abp suite ,thanks

Showing 11 to 20 of 23 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 11, 2025, 11:35