Commit Graph

2010 Commits

Author SHA1 Message Date
Scott Beinlich
80326996f5 🐛 Fixed markdown card lacking superscripts & subscripts. (#1763)
fixes: https://github.com/TryGhost/Ghost/issues/12219

- the WYSIWYG editor supports ^2^ for superscript and ~2~ for subscript
- with this change, the same syntax is supported in the markdown card, which was missing

Co-authored-by: Hannah Wolfe <github.erisds@gmail.com>
2022-08-01 19:51:27 +01:00
renovate[bot]
cb47a2bd28 Update dependency ember-cli-htmlbars to v6.1.0 2022-08-01 20:16:37 +02:00
Renovate Bot
65c8f298d3 Update dependency @html-next/vertical-collection to v3 2022-08-01 18:49:31 +02:00
Renovate Bot
97b4adfc6e Update dependency markdown-it to v13 2022-08-01 18:46:46 +02:00
Renovate Bot
2bc9cf970b Update dependency ember-cli-deprecation-workflow to v2 2022-08-01 18:40:08 +02:00
renovate[bot]
91945ed24e Update dependency @embroider/macros to v1.8.3 2022-08-01 18:31:48 +02:00
renovate[bot]
a96e35e8b9 Update dependency @tryghost/kg-clean-basic-html to v2.2.11 2022-08-01 18:29:40 +02:00
renovate[bot]
c652b50860 Update babel monorepo 2022-08-01 18:27:48 +02:00
renovate[bot]
0758e22ec7 Update dependency ember-truth-helpers to v3.1.1 2022-08-01 18:25:44 +02:00
renovate[bot]
cd4b7c8363 Update dependency @tryghost/kg-parser-plugins to v2.11.7 2022-08-01 18:20:47 +02:00
Renovate Bot
a2dba308d2 Update dependency @tryghost/color-utils to v0.1.19 2022-08-01 18:11:47 +02:00
Renovate Bot
19590ec475 Update dependency @tryghost/timezone-data to v0.2.70 2022-08-01 18:11:41 +02:00
renovate[bot]
8829f31f15 Update dependency testem to v3.8.0 2022-08-01 18:11:16 +02:00
Renovate Bot
a24d259996 Update dependency @tryghost/helpers to v1.1.71 2022-08-01 18:10:26 +02:00
Daniel Lockyer
946952d0ed v5.7.0 2022-08-01 15:23:38 +01:00
Daniel Lockyer
fce09a6a1b v5.6.0 2022-08-01 09:23:34 +01:00
Daniel Lockyer
5f311946b5 v5.5.0 2022-07-26 08:23:55 +01:00
Daniel Lockyer
69cc21992d Merged v5.4.1 into main
v5.4.1
2022-07-19 16:00:35 +02:00
Daniel Lockyer
2d405513b3 v5.4.1 2022-07-19 14:57:42 +01:00
Kevin Ansfield
896cd4888f Switched to dynamically loaded external react-mobiledoc-editor package
no issue

- dropped the bundled `react-mobiledoc-editor` package
- updated `<ReactMobiledocEditor>` component to pull in editor components dynamically
  - added a resource function to dynamically import the external module
  - added `Container` and `Editor` components that read from the resource function and wrap components of the same name from the external module
  - added `<Suspense>` around the `Container` and `Editor` components so that React will show a loading state whilst the external components are still being fetched
  - added `<ErrorHandler>` so we can show an error state if loading fails
2022-07-19 12:48:53 +01:00
Kevin Ansfield
d991da399c Added support for building/rendering react components
no issue

- updated ember-cli-build and eslint config to support jsx
- added `react` and `react-dom` libraries
  - included them in the build so the `React` and `ReactDom` globals are available for use by third party components
  - added vendor shims so we can do things like `import * from 'react'` where the imports are referenced directly to the already imported modules
- added `<ReactComponent>` component
  - designed to be extended from in specific react component classes
  - renders a div and calls `renderComponent()` action once inserted - this should be replaced in any extended classes in order to render a react component
  - handles react rendering and teardown
- added `<ReactMobiledocEditor>` react component that renders an editor composed of components provided by the `react-mobiledoc-editor` package
- added `<KoenigReactEditor>` ember component that renders `<ReactMobiledocEditor>` and handles pass-through of Ember arguments and handling of actions
- updated `<GhKoenigEditorReact>` to render `<KoenigReactEditor>` in place of `<KoenigEditor>`
2022-07-19 12:48:53 +01:00
Daniel Lockyer
40240d6b7a v5.4.0 2022-07-15 16:00:33 +01:00
Daniel Lockyer
3f380e266d v5.3.1 2022-07-13 12:55:34 +01:00
Daniel Lockyer
3c63a01eec v5.3.0 2022-07-12 16:24:01 +01:00
Daniel Lockyer
a7c34b7a7e Merged v5.2.4 into main
v5.2.4
2022-07-05 10:52:15 +02:00
Daniel Lockyer
862ace7945 v5.2.4 2022-07-05 09:50:40 +01:00
renovate[bot]
a99f836b83 Update dependency miragejs to v0.1.45 (#2379)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-07-01 13:00:39 +01:00
Daniel Lockyer
cc570d23b0 v5.2.3 2022-06-15 03:59:46 +01:00
Daniel Lockyer
9551e57a00 v5.2.2 2022-06-03 17:50:37 +01:00
Daniel Lockyer
802cf2457f v5.2.1 2022-06-02 12:34:53 +01:00
Daniel Lockyer
facf16becc v5.2.0 2022-06-01 16:28:51 +01:00
Daniel Lockyer
3d0e4c9380 v5.1.1 2022-05-30 13:54:28 +01:00
Daniel Lockyer
f9736d2437 v5.1.0 2022-05-27 16:10:19 +01:00
Hannah Wolfe
8ac5bb5b48 🐛 Fixed word count for RTL languages
closes: https://github.com/TryGhost/Ghost/issues/14365
closes: https://github.com/TryGhost/SDK/issues/366
closes: https://github.com/TryGhost/SDK/issues/389
refs: https://github.com/TryGhost/SDK/pull/431

- our word count helper has been updated to handle RTL languages

Co-authored-by: Emmanuel-Melon <emmanuelgatwech@gmail.com>
2022-05-27 13:58:48 +01:00
Matt Hanley
a8acd63aff Merged v5.0.2 into main
v5.0.2
2022-05-26 15:23:32 +01:00
Daniel Lockyer
bcde7970fb v5.0.2 2022-05-26 15:17:24 +01:00
Kevin Ansfield
aaef8f7d44 Deleted unused <GhProfileImage> component
no issue

- the component became unused when the staff user page design was updated but was never cleaned up
2022-05-26 10:42:10 +01:00
Renovate Bot
f4f519ed90 Update dependency grunt to v1.5.3 [SECURITY] 2022-05-25 22:23:31 +00:00
renovate[bot]
0c07e26cc4 Update babel monorepo to v7.18.2 (#2406)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 11:24:38 +01:00
Kevin Ansfield
5544389b80 Fixed "The routes only function has been deprecated" output in test runs
no issue

`ember-cli-mirage` replaced the use of a default function export with a `createServer` function that applies config and deprecated the older mirage config export style. It will also soon drop support of the separate `testConfig` export we used for defining our test routes.

- switched to the newer `return createServer(config);` server configuration approach
- extracted dev and test routes into separate files for a cleaner base config
2022-05-25 11:03:05 +01:00
renovate[bot]
8115a4b6d2 Update dependency @tryghost/timezone-data to v0.2.68 (#2369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 10:14:05 +01:00
renovate[bot]
db09ec7b01 Update dependency glob to v8.0.3 (#2383)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 08:48:24 +01:00
renovate[bot]
e915ca6892 Update dependency @tryghost/color-utils to v0.1.17 (#2385)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 08:48:11 +01:00
renovate[bot]
7125f2cddd Update dependency @tryghost/helpers to v1.1.69 (#2386)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 08:47:58 +01:00
renovate[bot]
c3a48193c6 Update dependency @ember/test-helpers to v2.8.1 (#2399)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 08:47:43 +01:00
renovate[bot]
d3ee4fd4c8 Update dependency @tryghost/members-csv to v1.2.16 (#2393)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 08:47:29 +01:00
renovate[bot]
c3acdb6c0d Update dependency @tryghost/string to v0.1.26 (#2394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 08:47:15 +01:00
renovate[bot]
4d7526bcbd Update babel monorepo to v7.17.12 (#2395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 08:47:00 +01:00
renovate[bot]
7c320cd707 Update dependency testem to v3.7.0 (#2400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 08:45:55 +01:00
renovate[bot]
4c421a5ab3 Update dependency ember-auto-import to v1.12.2 (#2404)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 08:45:41 +01:00