├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .mise.toml ├── .spi.yml ├── .swift-version ├── .swiftformat ├── Assets ├── infomaniak-mail.webp ├── ios.webp ├── macos.webp └── visionos.webp ├── Examples ├── Example SwiftUI │ ├── Example SwiftUI.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── swiftpm │ │ │ └── Package.resolved │ └── Example SwiftUI │ │ ├── Assets.xcassets │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ │ ├── Example_SwiftUI.entitlements │ │ ├── Example_SwiftUIApp.swift │ │ └── Views │ │ ├── Editors │ │ ├── FixedSizeEditorView.swift │ │ ├── NotScrollableEditorView.swift │ │ └── ScrollableEditorView.swift │ │ └── RootView.swift ├── Example iOS │ ├── Example iOS.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── swiftpm │ │ │ └── Package.resolved │ └── Example iOS │ │ ├── AppDelegate.swift │ │ ├── Model │ │ └── ToolbarAction.swift │ │ ├── Resources │ │ ├── Assets.xcassets │ │ │ ├── AccentColor.colorset │ │ │ │ └── Contents.json │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Base.lproj │ │ │ └── LaunchScreen.storyboard │ │ ├── Info.plist │ │ └── editor.css │ │ ├── SceneDelegate.swift │ │ └── UI │ │ ├── Controllers │ │ ├── EditorViewController │ │ │ ├── EditorViewController+RichEditorViewDelegate.swift │ │ │ ├── EditorViewController+Toolbar.swift │ │ │ └── EditorViewController.swift │ │ ├── FixedSizeEditorViewController.swift │ │ ├── NotScrollableViewController.swift │ │ └── ScrollableEditorViewController.swift │ │ └── Views │ │ └── UIDivider.swift └── Example macOS │ ├── Example macOS.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── swiftpm │ │ └── Package.resolved │ └── Example macOS │ ├── AppDelegate.swift │ ├── Resources │ ├── Assets.xcassets │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Example_macOS.entitlements │ └── style.css │ └── UI │ ├── Base.lproj │ └── Main.storyboard │ ├── ViewController.swift │ └── WindowController.swift ├── LICENSE ├── NOTICE.txt ├── Package.swift ├── README.md ├── Sources └── InfomaniakRichHTMLEditor │ ├── Extensions │ ├── PlateformColor+Extension.swift │ ├── String+Escaped.swift │ ├── UIView+Extension.swift │ └── WKUserContentController+Extension.swift │ ├── Models │ ├── CaretPosition.swift │ ├── EditorError.swift │ ├── ExecCommand.swift │ ├── JavaScriptFunction.swift │ ├── TextJustification.swift │ ├── UITextAttributes.swift │ └── UserScript.swift │ ├── Resources │ ├── css │ │ └── style.css │ ├── index.html │ └── js │ │ ├── editor │ │ ├── commands.js │ │ ├── focus.js │ │ ├── links.js │ │ ├── observer.js │ │ ├── selection.js │ │ └── text-attributes.js │ │ ├── main.js │ │ └── utils │ │ ├── captureLog.js │ │ ├── javascriptBridge.js │ │ └── utils.js │ ├── RichHTMLEditorView+Commands.swift │ ├── RichHTMLEditorView.swift │ ├── RichHTMLEditorViewDelegate.swift │ ├── RichHTMLWebView.swift │ ├── SwiftUI │ ├── Models │ │ ├── TextAttributes+Commands.swift │ │ └── TextAttributes.swift │ └── Views │ │ ├── RichEditor+Modifier.swift │ │ ├── RichHTMLEditor+Environment.swift │ │ ├── RichHTMLEditor.swift │ │ └── RichHTMLEditorCoordinator.swift │ ├── Utils │ ├── Constants.swift │ └── JavaScriptFormatterHelper.swift │ └── WebViewBridge │ ├── JavaScriptManager.swift │ └── ScriptMessageHandler.swift └── Tests └── InfomaniakRichHTMLEditorTests └── InfomaniakRichHTMLEditorTests.swift /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/.gitignore -------------------------------------------------------------------------------- /.mise.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/.mise.toml -------------------------------------------------------------------------------- /.spi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/.spi.yml -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.10 2 | -------------------------------------------------------------------------------- /.swiftformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/.swiftformat -------------------------------------------------------------------------------- /Assets/infomaniak-mail.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Assets/infomaniak-mail.webp -------------------------------------------------------------------------------- /Assets/ios.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Assets/ios.webp -------------------------------------------------------------------------------- /Assets/macos.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Assets/macos.webp -------------------------------------------------------------------------------- /Assets/visionos.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Assets/visionos.webp -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI/Example_SwiftUI.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI/Example_SwiftUI.entitlements -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI/Example_SwiftUIApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI/Example_SwiftUIApp.swift -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI/Views/Editors/FixedSizeEditorView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI/Views/Editors/FixedSizeEditorView.swift -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI/Views/Editors/NotScrollableEditorView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI/Views/Editors/NotScrollableEditorView.swift -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI/Views/Editors/ScrollableEditorView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI/Views/Editors/ScrollableEditorView.swift -------------------------------------------------------------------------------- /Examples/Example SwiftUI/Example SwiftUI/Views/RootView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example SwiftUI/Example SwiftUI/Views/RootView.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/AppDelegate.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/Model/ToolbarAction.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/Model/ToolbarAction.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/Resources/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/Resources/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/Resources/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/Resources/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/Resources/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/Resources/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/Resources/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/Resources/Info.plist -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/Resources/editor.css: -------------------------------------------------------------------------------- 1 | #swift-rich-html-editor { 2 | padding: 16px; 3 | } 4 | -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/SceneDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/SceneDelegate.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/UI/Controllers/EditorViewController/EditorViewController+RichEditorViewDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/UI/Controllers/EditorViewController/EditorViewController+RichEditorViewDelegate.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/UI/Controllers/EditorViewController/EditorViewController+Toolbar.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/UI/Controllers/EditorViewController/EditorViewController+Toolbar.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/UI/Controllers/EditorViewController/EditorViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/UI/Controllers/EditorViewController/EditorViewController.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/UI/Controllers/FixedSizeEditorViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/UI/Controllers/FixedSizeEditorViewController.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/UI/Controllers/NotScrollableViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/UI/Controllers/NotScrollableViewController.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/UI/Controllers/ScrollableEditorViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/UI/Controllers/ScrollableEditorViewController.swift -------------------------------------------------------------------------------- /Examples/Example iOS/Example iOS/UI/Views/UIDivider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example iOS/Example iOS/UI/Views/UIDivider.swift -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS/AppDelegate.swift -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS/Resources/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS/Resources/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS/Resources/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS/Resources/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS/Resources/Example_macOS.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS/Resources/Example_macOS.entitlements -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS/Resources/style.css: -------------------------------------------------------------------------------- 1 | #swift-rich-html-editor { 2 | padding: 16px; 3 | } 4 | -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS/UI/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS/UI/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS/UI/ViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS/UI/ViewController.swift -------------------------------------------------------------------------------- /Examples/Example macOS/Example macOS/UI/WindowController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Examples/Example macOS/Example macOS/UI/WindowController.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/NOTICE.txt -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/README.md -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Extensions/PlateformColor+Extension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Extensions/PlateformColor+Extension.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Extensions/String+Escaped.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Extensions/String+Escaped.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Extensions/UIView+Extension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Extensions/UIView+Extension.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Extensions/WKUserContentController+Extension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Extensions/WKUserContentController+Extension.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Models/CaretPosition.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Models/CaretPosition.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Models/EditorError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Models/EditorError.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Models/ExecCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Models/ExecCommand.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Models/JavaScriptFunction.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Models/JavaScriptFunction.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Models/TextJustification.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Models/TextJustification.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Models/UITextAttributes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Models/UITextAttributes.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Models/UserScript.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Models/UserScript.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/css/style.css -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/index.html -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/editor/commands.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/editor/commands.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/editor/focus.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/editor/focus.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/editor/links.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/editor/links.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/editor/observer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/editor/observer.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/editor/selection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/editor/selection.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/editor/text-attributes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/editor/text-attributes.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/main.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/utils/captureLog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/utils/captureLog.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/utils/javascriptBridge.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/utils/javascriptBridge.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Resources/js/utils/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Resources/js/utils/utils.js -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/RichHTMLEditorView+Commands.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/RichHTMLEditorView+Commands.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/RichHTMLEditorView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/RichHTMLEditorView.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/RichHTMLEditorViewDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/RichHTMLEditorViewDelegate.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/RichHTMLWebView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/RichHTMLWebView.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/SwiftUI/Models/TextAttributes+Commands.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/SwiftUI/Models/TextAttributes+Commands.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/SwiftUI/Models/TextAttributes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/SwiftUI/Models/TextAttributes.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/SwiftUI/Views/RichEditor+Modifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/SwiftUI/Views/RichEditor+Modifier.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/SwiftUI/Views/RichHTMLEditor+Environment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/SwiftUI/Views/RichHTMLEditor+Environment.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/SwiftUI/Views/RichHTMLEditor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/SwiftUI/Views/RichHTMLEditor.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/SwiftUI/Views/RichHTMLEditorCoordinator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/SwiftUI/Views/RichHTMLEditorCoordinator.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Utils/Constants.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Utils/Constants.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/Utils/JavaScriptFormatterHelper.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/Utils/JavaScriptFormatterHelper.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/WebViewBridge/JavaScriptManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/WebViewBridge/JavaScriptManager.swift -------------------------------------------------------------------------------- /Sources/InfomaniakRichHTMLEditor/WebViewBridge/ScriptMessageHandler.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Sources/InfomaniakRichHTMLEditor/WebViewBridge/ScriptMessageHandler.swift -------------------------------------------------------------------------------- /Tests/InfomaniakRichHTMLEditorTests/InfomaniakRichHTMLEditorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Infomaniak/swift-rich-html-editor/HEAD/Tests/InfomaniakRichHTMLEditorTests/InfomaniakRichHTMLEditorTests.swift --------------------------------------------------------------------------------