froala editor settings

lawrence whittemore asked on October 1, 2021 17:10

For the life of me I cannot find the editors config file. Anyone know where this is located?

Correct Answer

Liam Goldfinch answered on October 1, 2021 17:20

Hi Lawrence,

You'll need to use a custom config file, I'd check over this documentation page.

0 votesVote for this answer Unmark Correct answer

Recent Answers


lawrence whittemore answered on October 1, 2021 17:48

thanks, I tried adding this but am getting an error that

 @if (Context.Kentico().PageBuilder().EditMode)
{
    @Scripts.Render("~/Scripts/SimpleConfiguration.js")
}

The name 'Scripts' does not exist in the current context

0 votesVote for this answer Mark as a Correct answer

Liam Goldfinch answered on October 1, 2021 17:57

I believe that's for MVC5 bundling, I assume you're using .NET Core?

I'd just add a direct script tag:

@if (Context.Kentico().PageBuilder().EditMode)
{
    <script src="~/Scripts/SimpleConfiguration.js"></script>
}
0 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on October 1, 2021 18:05

Yes, .net core. So that will work. Thanks, still learning all this. :)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.