Skip to content

Bug/storybook #1141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
linting
  • Loading branch information
loiswells97 committed Nov 20, 2024
commit 40e03480be4df26b9d5151d7eea3d8a1ecec2815
14 changes: 9 additions & 5 deletions src/components/Editor/EditorPanel/EditorPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,15 @@ const EditorPanel = ({ extension = "html", fileName = "index" }) => {
return (
<>
<div className={`editor editor--${settings.fontSize}`} ref={editor}></div>
{
characterLimitExceeded && (
<Alert title={t("editorPanel.characterLimitError")} type='error' text={t("editorPanel.characterLimitExplanation", { maxCharacters: MAX_CHARACTERS })} />
)
}
{characterLimitExceeded && (
<Alert
title={t("editorPanel.characterLimitError")}
type="error"
text={t("editorPanel.characterLimitExplanation", {
maxCharacters: MAX_CHARACTERS,
})}
/>
)}
</>
);
};
Expand Down
6 changes: 1 addition & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ module.exports = {
test: /\.(woff|woff2|eot|ttf|otf)$/,
use: [
{
loader: 'url-loader',
// options: {
// name: '[name].[ext]',
// outputPath: 'fonts/',
// },
loader: "url-loader",
},
],
},
Expand Down
Loading